mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
tests: Add test for TW #2388
This commit is contained in:
parent
983b971a11
commit
37f26be3ad
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,11 @@ class TestProjects(TestCase):
|
||||||
self.assertRegex(err, self.STATUS.format("foo bar", "0%",
|
self.assertRegex(err, self.STATUS.format("foo bar", "0%",
|
||||||
"1 task"))
|
"1 task"))
|
||||||
|
|
||||||
|
# Ensure filtering for project with spaces works
|
||||||
|
code, out, err = self.t('pro:"foo bar" count')
|
||||||
|
self.assertEqual(out.strip(), '1')
|
||||||
|
|
||||||
|
|
||||||
def add_tasks(self):
|
def add_tasks(self):
|
||||||
self.t("add testing project:existingParent")
|
self.t("add testing project:existingParent")
|
||||||
self.t("add testing project:existingParent.child")
|
self.t("add testing project:existingParent.child")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue