Unit test

* was using the default data.location
This commit is contained in:
Johannes Schlatow
2011-02-13 01:51:51 +01:00
parent ea57b560d9
commit 079bcff893

View File

@@ -45,7 +45,7 @@ if (open my $fh, '>', 'bug.rc')
qx{../src/task rc:bug.rc add Test};
# Result: Attempt to undo add with confirmation=off
my $output = qx{echo 'n' |../src/task rc.confirmation=off undo};
my $output = qx{echo 'n' |../src/task rc:bug.rc rc.confirmation=off undo};
unlike ($output, qr/Are you sure/ms, 'Undo honours confirmation=off.');
# Cleanup.