Unit Test

- Removed character (!) from task project name that was causing a _neg_ operator
  to be invoked.
This commit is contained in:
Paul Beckingham 2014-06-27 19:11:02 -04:00
parent 28ed6ae74d
commit d787e1b969

View file

@ -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;