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};