Unit Tests

- Fixed some tests that used old message text.
- Fixed tests that relied on 'log'ed tasks still being written into
  pending.data.
- Removed obsolete auto-info tests.
This commit is contained in:
Paul Beckingham
2011-08-23 20:12:19 -04:00
parent 9641dde54f
commit 2e09ddd900
4 changed files with 12 additions and 89 deletions

View File

@@ -41,7 +41,7 @@ if (open my $fh, '>', 'bug_annotate.rc')
# Attempt a blank annotation.
qx{../src/task rc:bug_annotate.rc add foo};
my $output = qx{../src/task rc:bug_annotate.rc 1 annotate};
like ($output, qr/Cannot apply a blank annotation./, 'failed on blank annotation');
like ($output, qr/Additional text must be provided/, 'failed on blank annotation');
# Attempt an annotation without ID
$output = qx{../src/task rc:bug_annotate.rc annotate bar};