From 8ba2dc1fa19a3cbe85999ed2ec26dc58fd9f2828 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 2 Oct 2011 09:49:55 -0400 Subject: [PATCH] Unit Tests - Fixed tests that were broken by the new 'help' command output. --- test/custom.t | 2 +- test/label.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/custom.t b/test/custom.t index 0b322f93e..ed70cfc0d 100755 --- a/test/custom.t +++ b/test/custom.t @@ -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 \[\]\s+DESC\n/m, 'report.foo'); +like ($output, qr/task 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}; diff --git a/test/label.t b/test/label.t index 0456eade1..c383585c5 100755 --- a/test/label.t +++ b/test/label.t @@ -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 \[\]\s+DESC\n/m, 'report.foo'); +like ($output, qr/task 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};