Unit Tests - export.t
- Corrected export unit test to account for the new syntax of the export command, which no longer accepts a file name argument, and send the report to stdout instead.
This commit is contained in:
@@ -41,7 +41,7 @@ if (open my $fh, '>', 'export.rc')
|
||||
# Add two tasks, export, examine result.
|
||||
qx{../task rc:export.rc add priority:H project:A one};
|
||||
qx{../task rc:export.rc add +tag1 +tag2 two};
|
||||
qx{../task rc:export.rc export ./export.txt};
|
||||
qx{../task rc:export.rc export > ./export.txt};
|
||||
|
||||
my @lines;
|
||||
if (open my $fh, '<', './export.txt')
|
||||
|
||||
Reference in New Issue
Block a user