Unit Tests
- Corrected use of rc.fontunderline with the new Views. - Added new sample todo.sh import data, thanks to Daniel Wilcox. - Added rc.defaultwidth to various tests. - Modified tests to accomodate new next report. - Corrected regex in rc.override.t.
This commit is contained in:
@@ -40,10 +40,10 @@ if (open my $fh, '>', 'rc.rc')
|
||||
}
|
||||
|
||||
my $output = qx{../src/task rc:rc.rc show};
|
||||
like ($output, qr/\sfoo\s+bar/, 'unmodified');
|
||||
like ($output, qr/^.*foo.+bar.*$/m, 'unmodified');
|
||||
|
||||
$output = qx{../src/task rc:rc.rc rc.foo:baz show};
|
||||
like ($output, qr/\sfoo\s+baz/, 'overridden');
|
||||
like ($output, qr/^.*foo.*baz.*$/m, 'overridden');
|
||||
|
||||
unlink 'rc.rc';
|
||||
ok (!-r 'rc.rc', 'Removed rc.rc');
|
||||
|
||||
Reference in New Issue
Block a user