diff --git a/test/op_and.t b/test/op_and.t index 330a26149..ab19a4f17 100755 --- a/test/op_and.t +++ b/test/op_and.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 26; +use Test::More tests => 24; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -87,11 +86,5 @@ unlike ($output, qr/four/, 'ls project:A priority:H --> !four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0; diff --git a/test/op_gt.t b/test/op_gt.t index d929370ad..aacc436be 100755 --- a/test/op_gt.t +++ b/test/op_gt.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 26; +use Test::More tests => 24; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -87,11 +86,5 @@ unlike ($output, qr/four/, 'ls urgency > 10 --> !four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0; diff --git a/test/op_gte.t b/test/op_gte.t index e0b1d88ef..8dda97807 100755 --- a/test/op_gte.t +++ b/test/op_gte.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 14; +use Test::More tests => 12; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -69,11 +68,5 @@ unlike ($output, qr/four/, 'ls urgency >= 2.0 --> !four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0; diff --git a/test/op_lt.t b/test/op_lt.t index 70a4f6a3d..622c2bd74 100755 --- a/test/op_lt.t +++ b/test/op_lt.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 26; +use Test::More tests => 24; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -87,11 +86,5 @@ like ($output, qr/four/, 'ls description < 10 --> four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0; diff --git a/test/op_lte.t b/test/op_lte.t index 4e99bd8fc..1eb300dd3 100755 --- a/test/op_lte.t +++ b/test/op_lte.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 14; +use Test::More tests => 12; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -69,11 +68,5 @@ like ($output, qr/four/, 'ls urgency <= 2.0 --> four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0; diff --git a/test/op_or.t b/test/op_or.t index 854f6ef5b..0b71b7edf 100755 --- a/test/op_or.t +++ b/test/op_or.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 18; +use Test::More tests => 16; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -75,11 +74,5 @@ unlike ($output, qr/four/, 'ls project=A or priority=H --> !four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0; diff --git a/test/op_xor.t b/test/op_xor.t index 24e36097a..42ff7fd84 100755 --- a/test/op_xor.t +++ b/test/op_xor.t @@ -27,7 +27,7 @@ use strict; use warnings; -use Test::More tests => 18; +use Test::More tests => 16; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -39,7 +39,6 @@ if (open my $fh, '>', 'op.rc') print $fh "data.location=.\n", "confirmation=no\n"; close $fh; - ok (-r 'op.rc', 'Created op.rc'); } # Setup: Add a task @@ -75,11 +74,5 @@ unlike ($output, qr/four/, 'ls project=A priority=H --> !four'); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data op.rc); -ok (! -r 'pending.data' && - ! -r 'completed.data' && - ! -r 'undo.data' && - ! -r 'backlog.data' && - ! -r 'op.rc', 'Cleanup'); - exit 0;