Unit Tests
- All unit tests most now clean up a residual undo.data file, so the number of tests increased, but with no benefit.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 35;
|
||||
use Test::More tests => 36;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'cal.rc')
|
||||
@@ -111,6 +111,9 @@ unlike ($output, qr/May 2010/, 'May 2010 is not displayed');
|
||||
unlink 'pending.data';
|
||||
ok (!-r 'pending.data', 'Removed pending.data');
|
||||
|
||||
unlink 'undo.data';
|
||||
ok (!-r 'undo.data', 'Removed undo.data');
|
||||
|
||||
unlink 'cal.rc';
|
||||
ok (!-r 'cal.rc', 'Removed cal.rc');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user