mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
73f72c54c1
commit
bb04a58bdc
6 changed files with 51 additions and 19 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue