Unit Test - bug.495.t

- Modified the test to reflect the new handling of -- on the command
  line with respect to quoted text.
This commit is contained in:
Paul Beckingham
2011-08-13 23:58:28 -04:00
parent beac5ed7e9
commit 0ead416574

View File

@@ -43,7 +43,7 @@ if (open my $fh, '>', 'bug.rc')
qx{../src/task rc:bug.rc add foo};
qx{../src/task rc:bug.rc 1 annotate "This -- is -- a -- test"};
my $output = qx{../src/task rc:bug.rc list};
like ($output, qr/This -- is -- a -- test/, 'Double hyphens preserved.');
like ($output, qr/This is -- a -- test/, 'Double hyphens preserved, except the first ones.');
# Cleanup.
unlink 'pending.data';