mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
tests: Add test for TW #2386
This commit is contained in:
parent
37f26be3ad
commit
967bf18188
1 changed files with 8 additions and 0 deletions
|
@ -100,6 +100,14 @@ class TestProjects(TestCase):
|
||||||
code, out, err = self.t('pro:"foo bar" count')
|
code, out, err = self.t('pro:"foo bar" count')
|
||||||
self.assertEqual(out.strip(), '1')
|
self.assertEqual(out.strip(), '1')
|
||||||
|
|
||||||
|
def test_project_spaces(self):
|
||||||
|
"""TW #2386: Filter for project:someday"""
|
||||||
|
|
||||||
|
self.t("add hello pro:someday")
|
||||||
|
|
||||||
|
# Ensure filtering for project with numeric date works
|
||||||
|
code, out, err = self.t('pro:someday 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")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue