Unit Tests
- All unit tests now clean up the new backlog.data and synch.key files.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 29;
|
||||
use Test::More tests => 31;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'seq.rc')
|
||||
@@ -127,6 +127,12 @@ ok (!-r 'completed.data', 'Removed completed.data');
|
||||
unlink 'undo.data';
|
||||
ok (!-r 'undo.data', 'Removed undo.data');
|
||||
|
||||
unlink 'backlog.data';
|
||||
ok (!-r 'backlog.data', 'Removed backlog.data');
|
||||
|
||||
unlink 'synch.key';
|
||||
ok (!-r 'synch.key', 'Removed synch.key');
|
||||
|
||||
unlink 'seq.rc';
|
||||
ok (!-r 'seq.rc', 'Removed seq.rc');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user