mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 23:46:42 +02:00
Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
parent
75822eed47
commit
da575c4043
185 changed files with 1591 additions and 1591 deletions
|
@ -39,10 +39,10 @@ if (open my $fh, '>', 'bug.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:bug.rc add foo\\'s bar.};
|
||||
qx{../src/task rc:bug.rc add foo \\(bar\\)};
|
||||
qx{../src/task rc:bug.rc add \\'baz \\(qux\\)\\'};
|
||||
my $output = qx{../src/task rc:bug.rc ls};
|
||||
qx{../src/task rc:bug.rc add foo\\'s bar. 2>&1};
|
||||
qx{../src/task rc:bug.rc add foo \\(bar\\) 2>&1};
|
||||
qx{../src/task rc:bug.rc add \\'baz \\(qux\\)\\' 2>&1};
|
||||
my $output = qx{../src/task rc:bug.rc ls 2>&1};
|
||||
like ($output, qr/foo's bar\./, "foo's bar. --> preserved");
|
||||
|
||||
#like ($output, qr/foo \(bar\)/, "foo \(bar\) -- preserved");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue