mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-1827: Extract annotations from a task
- Thanks to Ryan.
This commit is contained in:
parent
fdd55bc422
commit
5206b4a84b
7 changed files with 40 additions and 0 deletions
10
test/dom.t
10
test/dom.t
|
@ -146,6 +146,16 @@ class TestDOM(TestCase):
|
|||
code, out, err = self.t("_get 3.due.second")
|
||||
self.assertEqual("0\n", out)
|
||||
|
||||
def test_dom_annotation_count_1(self):
|
||||
""" DOM 1.annotation.count """
|
||||
code, out, err = self.t("_get 1.annotations.count")
|
||||
self.assertEqual("0\n", out)
|
||||
|
||||
def test_dom_annotation_count_3(self):
|
||||
""" DOM 3.annotation.count """
|
||||
code, out, err = self.t("_get 3.annotations.count")
|
||||
self.assertEqual("1\n", out)
|
||||
|
||||
def test_dom_annotation_entry(self):
|
||||
""" DOM 3.annotations.1.entry """
|
||||
code, out, err = self.t("_get 3.annotations.1.entry")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue