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:
Paul Beckingham 2009-06-16 16:34:46 -04:00
parent 78ec411067
commit 7a77cd6d4a

View file

@ -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')