- New 'ls' report.
This commit is contained in:
Paul Beckingham 2013-10-19 20:38:09 -04:00
parent c8aca24e63
commit 09fce4df46
8 changed files with 27 additions and 17 deletions

View file

@ -50,7 +50,7 @@ qx{../src/task rc:special.rc add should have no red +nocolor priority:H 2>&1};
qx{../src/task rc:special.rc add should be red +nonag 2>&1};
my $output = qx{../src/task rc:special.rc ls 2>&1};
like ($output, qr/\s1\s+H\s+should have no red/, 'no red in first task due to +nocolor');
like ($output, qr/\s1\s+nocolor\s+should have no red/, 'no red in first task due to +nocolor');
like ($output, qr/\033\[31mshould be red\s+\033\[0m/, 'red in second task');
# Prove that +nonag suppresses nagging when a low priority task is completed