Test: Merged tw-268.t into quotes.t

This commit is contained in:
Paul Beckingham 2015-10-23 10:38:40 -04:00
parent 2b69190ce2
commit 84c85b7596
2 changed files with 15 additions and 55 deletions

View file

@ -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"""