mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Unit Tests
- Fixed tests that were broken by the new 'help' command output.
This commit is contained in:
parent
4495e93f8d
commit
8ba2dc1fa1
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ if (open my $fh, '>', 'custom.rc')
|
||||||
|
|
||||||
# Generate the help screen, and locate the custom report on it.
|
# Generate the help screen, and locate the custom report on it.
|
||||||
my $output = qx{../src/task rc:custom.rc help};
|
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 project:A one};
|
||||||
qx{../src/task rc:custom.rc add two};
|
qx{../src/task rc:custom.rc add two};
|
||||||
|
|
|
@ -45,7 +45,7 @@ if (open my $fh, '>', 'custom.rc')
|
||||||
|
|
||||||
# Generate the help screen, and locate the custom report on it.
|
# Generate the help screen, and locate the custom report on it.
|
||||||
my $output = qx{../src/task rc:custom.rc help};
|
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 project:A one};
|
||||||
qx{../src/task rc:custom.rc add two};
|
qx{../src/task rc:custom.rc add two};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue