Unit Tests

- Fixed tests that were broken by the new 'help' command output.
This commit is contained in:
Paul Beckingham 2011-10-02 09:49:55 -04:00
parent 4495e93f8d
commit 8ba2dc1fa1
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ if (open my $fh, '>', 'custom.rc')
# Generate the help screen, and locate the custom report on it.
my $output = qx{../src/task rc:custom.rc help};
like ($output, qr/task foo \[<filter>\]\s+DESC\n/m, 'report.foo');
like ($output, qr/task <filter> foo\s+DESC\n/m, 'report.foo');
qx{../src/task rc:custom.rc add project:A one};
qx{../src/task rc:custom.rc add two};

View file

@ -45,7 +45,7 @@ if (open my $fh, '>', 'custom.rc')
# Generate the help screen, and locate the custom report on it.
my $output = qx{../src/task rc:custom.rc help};
like ($output, qr/task foo \[<filter>\]\s+DESC\n/m, 'report.foo');
like ($output, qr/task <filter> foo\s+DESC\n/m, 'report.foo');
qx{../src/task rc:custom.rc add project:A one};
qx{../src/task rc:custom.rc add two};