From 7a77cd6d4a3a8ce92a039f9f40f488f49cb24cc3 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 16 Jun 2009 16:34:46 -0400 Subject: [PATCH] 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. --- src/tests/export.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/export.t b/src/tests/export.t index 143a687da..08a383e4a 100755 --- a/src/tests/export.t +++ b/src/tests/export.t @@ -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')