Unit Tests

- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
Paul Beckingham
2012-07-03 15:43:19 -04:00
parent 75822eed47
commit da575c4043
185 changed files with 1591 additions and 1591 deletions

View File

@@ -44,8 +44,8 @@ if (open my $fh, '>', 'color.rc')
# Bug that colored any task with both priority:L and a tag as though
# rc.color.tagged had a higher precedence than rc.color.pri.L, which it is not.
qx{../src/task rc:color.rc add test +test pri:L};
my $output = qx{../src/task rc:color.rc list};
qx{../src/task rc:color.rc add test +test pri:L 2>&1};
my $output = qx{../src/task rc:color.rc list 2>&1};
like ($output, qr/ \033\[32m .* test .* \033\[0m /x, 'Colored with the priority color, which has precedence over the tagged color');
# Cleanup.