Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user