mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Unit Tests
- Modified tests to include a terminator, to resolve ambiguity.
This commit is contained in:
parent
a07aa2bece
commit
a00c5b11c8
1 changed files with 2 additions and 2 deletions
|
@ -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 .".
|
# 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\\'s bar. 2>&1};
|
||||||
qx{../src/task rc:$rc add foo \\(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 -- 'baz (qux)' 2>&1};
|
||||||
|
|
||||||
my $output = qx{../src/task rc:$rc ls 2>&1};
|
my $output = qx{../src/task rc:$rc ls 2>&1};
|
||||||
like ($output, qr/foo's bar\./, "$ut: foo's bar. --> preserved");
|
like ($output, qr/foo's bar\./, "$ut: foo's bar. --> preserved");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue