mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 18:06: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
|
@ -41,9 +41,9 @@ if (open my $fh, '>', '441.rc')
|
|||
}
|
||||
|
||||
# Bug #441: A colon messes up text replacement with ///
|
||||
qx{../src/task rc:441.rc add one two three};
|
||||
qx{../src/task rc:441.rc 1 modify /two/two:/};
|
||||
my $output = qx{../src/task rc:441.rc ls};
|
||||
qx{../src/task rc:441.rc add one two three 2>&1};
|
||||
qx{../src/task rc:441.rc 1 modify /two/two:/ 2>&1};
|
||||
my $output = qx{../src/task rc:441.rc ls 2>&1};
|
||||
like ($output, qr/one two: three/ms, 'Substitution with colon worked');
|
||||
|
||||
# Cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue