Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
@@ -40,7 +40,7 @@ if (open my $fh, '>', 'obsolete.rc')
|
||||
}
|
||||
|
||||
# Test the add command.
|
||||
my $output = qx{../src/task rc:obsolete.rc show};
|
||||
my $output = qx{../src/task rc:obsolete.rc show 2>&1};
|
||||
|
||||
like ($output, qr/Your .taskrc file contains these unrecognized variables:\n/,
|
||||
'unsupported configuration variable');
|
||||
|
||||
Reference in New Issue
Block a user