mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Test
- Removed character (!) from task project name that was causing a _neg_ operator to be invoked.
This commit is contained in:
parent
28ed6ae74d
commit
d787e1b969
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ if (open my $fh, '>', $rc)
|
|||
# characters
|
||||
|
||||
qx{../src/task rc:$rc add abc pro:Bar\x{263A} 2>&1};
|
||||
qx{../src/task rc:$rc add def pro:Foo! 2>&1};
|
||||
qx{../src/task rc:$rc add def pro:Foo 2>&1};
|
||||
|
||||
my $output = qx{../src/task rc:$rc ls 2>&1};
|
||||
|
||||
# Project + ' ' == 4
|
||||
like ($output, qr/\S\s{4}abc/ms, "$ut: correct spacing in utf8 task");
|
||||
like ($output, qr/\S\s{4}def/ms, "$ut: correct spacing in non utf8 task");
|
||||
like ($output, qr/\S\s{5}def/ms, "$ut: correct spacing in non utf8 task");
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data), $rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue