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 => 103;
use Test::More tests => 105;
# Create the rc file.
if (open my $fh, '>', 'sorting.rc')
@ -188,6 +188,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 'sorting.rc';
ok (!-r 'sorting.rc', 'Removed sorting.rc');