mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Merged bug.884.t into add.t
This commit is contained in:
parent
f0010013d3
commit
c92ee148f6
2 changed files with 12 additions and 60 deletions
12
test/add.t
12
test/add.t
|
@ -95,6 +95,18 @@ class TestAdd(TestCase):
|
|||
self.assertIn("one 'two' three", out)
|
||||
self.assertIn("four \"five\" six", out)
|
||||
|
||||
def test_extra_space_in_path(self):
|
||||
"""Test that path-like args are preserved
|
||||
|
||||
Bug 884: Extra space in path name.
|
||||
"""
|
||||
self.t("add /one/two/three/")
|
||||
self.t("add '/four/five/six/'")
|
||||
|
||||
code, out, err = self.t("ls")
|
||||
self.assertIn("/one/two/three/", out)
|
||||
self.assertIn("/four/five/six/", out)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue