mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 08:56:43 +02:00
Test: Merged tw-268.t into quotes.t
This commit is contained in:
parent
2b69190ce2
commit
84c85b7596
2 changed files with 15 additions and 55 deletions
|
@ -52,6 +52,21 @@ class TestQuoting(TestCase):
|
|||
code, out, err = self.t("_get 2.description")
|
||||
self.assertIn("1-2", out)
|
||||
|
||||
|
||||
class TestBug268(TestCase):
|
||||
def setUp(self):
|
||||
self.t = Task()
|
||||
|
||||
def test_add_hyphenated(self):
|
||||
"""escaped backslashes do not work with 'modify'"""
|
||||
|
||||
self.t("add a b or c")
|
||||
self.t('1 modify "/a b/a\/b/"')
|
||||
|
||||
code, out, err = self.t("1 info")
|
||||
self.assertIn("a/b or c", out)
|
||||
|
||||
|
||||
class TestBug879(TestCase):
|
||||
def setUp(self):
|
||||
"""Executed before each test in the class"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue