Unit Tests

- The unit tests needed a little love after "undelete" went away, and
  "undo" changed.
- Fixed a few tests that were broken.
This commit is contained in:
Paul Beckingham
2009-07-03 00:51:25 -04:00
parent 367214c57a
commit ef7c5dc4eb
9 changed files with 37 additions and 50 deletions

View File

@@ -54,13 +54,7 @@ like ($output, qr/Imported 2 tasks successfully, with 0 errors./, 'no errors');
$output = qx{../task rc:import.rc list};
like ($output, qr/1.+H.+this is a test/, 't1');
diag ("---");
diag ($output);
diag ("---");
like ($output, qr/2.+another task/, 't2');
diag ("---");
diag ($output);
diag ("---");
# Cleanup.
unlink 'import.txt';