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 => 20;
|
||||
use Test::More tests => 22;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'delete.rc')
|
||||
@@ -83,6 +83,12 @@ ok (-r 'undo.data', 'Need to remove undo.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 'delete.rc';
|
||||
ok (!-r 'delete.rc', 'Removed delete.rc');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user