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

@ -40,9 +40,9 @@ if (open my $fh, '>', 'bug.rc')
}
# Bug #489 - tags.none: is not filtering tagless tasks
qx{../src/task rc:bug.rc add with +tag};
qx{../src/task rc:bug.rc add without};
my $output = qx{../src/task rc:bug.rc list tags.none:};
qx{../src/task rc:bug.rc add with +tag 2>&1};
qx{../src/task rc:bug.rc add without 2>&1};
my $output = qx{../src/task rc:bug.rc list tags.none: 2>&1};
unlike ($output, qr/with /, 'tags.none: skips tagged');
like ($output, qr/without/, 'tags.none: finds tagless');