Unit Tests
- Modified tests to include a terminator, to resolve ambiguity.
This commit is contained in:
@@ -46,8 +46,8 @@ if (open my $fh, '>', $rc)
|
||||
|
||||
# Bug 819: When I run "task add foo\'s bar." the description of the new task is "foo 's bar .".
|
||||
qx{../src/task rc:$rc add foo\\'s bar. 2>&1};
|
||||
qx{../src/task rc:$rc add foo \\(bar\\) 2>&1};
|
||||
qx{../src/task rc:$rc add 'baz (qux)' 2>&1};
|
||||
qx{../src/task rc:$rc add -- foo \\(bar\\) 2>&1};
|
||||
qx{../src/task rc:$rc add -- 'baz (qux)' 2>&1};
|
||||
|
||||
my $output = qx{../src/task rc:$rc ls 2>&1};
|
||||
like ($output, qr/foo's bar\./, "$ut: foo's bar. --> preserved");
|
||||
|
||||
Reference in New Issue
Block a user