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 => 8;
|
||||
use Test::More tests => 10;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'shell.rc')
|
||||
@@ -61,6 +61,12 @@ ok (!-r 'undo.data', 'Removed undo.data');
|
||||
unlink 'response.txt';
|
||||
ok (!-r 'response.txt', 'Removed response.txt');
|
||||
|
||||
unlink 'backlog.data';
|
||||
ok (!-r 'backlog.data', 'Removed backlog.data');
|
||||
|
||||
unlink 'synch.key';
|
||||
ok (!-r 'synch.key', 'Removed synch.key');
|
||||
|
||||
unlink 'shell.rc';
|
||||
ok (!-r 'shell.rc', 'Removed shell.rc');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user