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:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user