From 37f26be3ad5ae02a9c27295ff16728782121f6f1 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 25 Sep 2021 19:19:38 -0400 Subject: [PATCH] tests: Add test for TW #2388 --- test/project.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/project.t b/test/project.t index b1763f400..7a49b315f 100755 --- a/test/project.t +++ b/test/project.t @@ -96,6 +96,11 @@ class TestProjects(TestCase): self.assertRegex(err, self.STATUS.format("foo bar", "0%", "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): self.t("add testing project:existingParent") self.t("add testing project:existingParent.child")