mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Re-enabled bug.982.t and fixed the regex so it is right. This test was created for a parsing bug which is now fixed.
This commit is contained in:
parent
1cac14f3f8
commit
d1664b3f55
1 changed files with 1 additions and 2 deletions
|
@ -46,10 +46,9 @@ if (open my $fh, '>', $rc)
|
|||
}
|
||||
|
||||
# Bug 982: Missing words when adding a description with NUMBER-SOMETHING
|
||||
|
||||
qx{../src/task rc:$rc add 1-test 1+tag 2>&1};
|
||||
my $output = qx{../src/task rc:$rc 1 info 2>&1};
|
||||
like ($output, qr/^Description 1-test 1\+tag$/ms, 'Description contains plus and minus signs');
|
||||
like ($output, qr/^Description\s+1-test 1\+tag$/ms, "$ut: Description contains plus and minus signs");
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data), $rc;
|
Loading…
Add table
Add a link
Reference in a new issue