mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Bug
- Fixed erroneous unit test that considered '/a/b/x' a valid substitution, which is false because of the 'x'.
This commit is contained in:
parent
783867c512
commit
9e5f1787d0
1 changed files with 1 additions and 2 deletions
|
@ -34,7 +34,7 @@ Context context;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
UnitTest t (19);
|
||||
UnitTest t (18);
|
||||
|
||||
Task task;
|
||||
task.set ("description", "one two three four");
|
||||
|
@ -42,7 +42,6 @@ int main (int argc, char** argv)
|
|||
context.config.set ("search.case.sensitive", "yes");
|
||||
|
||||
Subst s;
|
||||
t.ok (s.valid ("/a/b/x"), "valid /a/b/x");
|
||||
t.ok (s.valid ("/a/b/"), "valid /a/b/");
|
||||
t.ok (s.valid ("/two/TWO/"), "valid /two/TWO/");
|
||||
t.ok (s.valid ("/e /E /g"), "valid /e /E /g");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue