Unit Tests

- All unit tests now clean up the new backlog.data and synch.key files.
This commit is contained in:
Paul Beckingham
2011-08-14 14:09:12 -04:00
parent b0c8cff6a2
commit 49cabc1bfd
150 changed files with 1063 additions and 150 deletions

View File

@@ -28,7 +28,7 @@
use strict;
use warnings;
use Test::More tests => 21;
use Test::More tests => 23;
# Create the rc file.
if (open my $fh, '>', 'caseless.rc')
@@ -129,6 +129,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 'caseless.rc';
ok (!-r 'caseless.rc', 'Removed caseless.rc');