mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Fix one test about backslash
The test was failing because it expected "Created task 1" but it saw "Created task 0a436fd8-7f06-4168-a66d-bbc940498af9". Instead, the new code looks at the description of task 1.
This commit is contained in:
parent
6727d08da0
commit
ab443a8ecf
1 changed files with 2 additions and 4 deletions
|
@ -108,10 +108,8 @@ class TestBug1436(TestCase):
|
|||
# Python turns \\ --> \, therefore \\\\\\\\ --> \\\\
|
||||
# Some process launch thing does the same, therefore \\\\ --> \\
|
||||
# Taskwarrior sees \\, which means \
|
||||
code, out, err = self.t("add Use this backslash \\\\\\\\")
|
||||
self.assertIn("Created task 1", out)
|
||||
|
||||
code, out, err = self.t("list")
|
||||
self.t("add Use this backslash \\\\\\\\")
|
||||
code, out, err = self.t("_get 1.description")
|
||||
self.assertIn("Use this backslash \\", out)
|
||||
|
||||
def test_backslashes(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue