mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 14:36:44 +02:00
Bug #995
- Fixed bug #995, which mis-parsed UUIDs in filters as other elements (thanks to Bryce Harrington). - Nibbler no longer permits 8-character UUID abbreviations, because too often they resemble other forms, such as '1111111d' which looks like a duration. - Modified unit tests accordingly.
This commit is contained in:
parent
10aa70a53b
commit
f4bfa1b2fd
6 changed files with 22 additions and 28 deletions
|
@ -44,7 +44,6 @@ if (open my $fh, '>', 'bug.rc')
|
|||
# - deleting task with UUID 874e146d-07a2-2d2c-7808-a76e74b1a332
|
||||
# - searching for tasks "foo" and "bar"
|
||||
|
||||
|
||||
qx{../src/task rc:bug.rc add foo};
|
||||
qx{../src/task rc:bug.rc add bar};
|
||||
my $output = qx{../src/task rc:bug.rc list};
|
||||
|
@ -56,8 +55,6 @@ $output = qx{../src/task rc:bug.rc list};
|
|||
like ($output, qr/foo/ms, 'Task foo not deleted');
|
||||
like ($output, qr/bar/ms, 'Task bar not deleted');
|
||||
|
||||
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue