mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Corrected test, which assumed zero-based annotation indexing
This commit is contained in:
parent
58d52a0191
commit
89df8e5c8a
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class TestDOMDirectReferencesOnAddition(TestCase):
|
|||
|
||||
def test_dom_reference_annotation(self):
|
||||
""" DOM reference on annotation description in add command """
|
||||
self.t("add description:1.annotations.1.description")
|
||||
self.t("add description:1.annotations.2.description")
|
||||
latest = self.t.latest
|
||||
|
||||
self.assertEqual("Second annotation", latest['description'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue