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:
Paul Beckingham 2011-05-13 23:55:01 -04:00
parent 73f72c54c1
commit bb04a58bdc
6 changed files with 51 additions and 19 deletions

View file

@ -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');