Unit Tests

- Removed useless setup/teardown tests, improving the signal to noise ratio.
This commit is contained in:
Paul Beckingham 2014-06-01 10:02:53 -04:00
parent eaffa392f9
commit 307ea1c857
9 changed files with 10 additions and 70 deletions

View file

@ -28,7 +28,7 @@
use strict;
use warnings;
use File::Path;
use Test::More tests => 15;
use Test::More tests => 13;
# Ensure environment has no influence.
delete $ENV{'TASKDATA'};
@ -87,10 +87,6 @@ $output = qx{../src/task rc:foo.rc show 2>&1};
like ($output, qr/^must_be_unique\s+one two three/ms, 'config allows multi-word unquoted values');
rmtree 'foo', 0, 0;
ok (!-r 'foo', 'Removed foo');
unlink 'foo.rc';
ok (!-r 'foo.rc', 'Removed foo.rc');
exit 0;