mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- All tests (I hope) now properly remove completed.data on exit, which should prevent certain non-deterministic tinderbox results caused by residual data.
This commit is contained in:
parent
5b8dbd8ff1
commit
98042548dd
115 changed files with 453 additions and 114 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 7;
|
||||
use Test::More tests => 8;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'due.rc')
|
||||
|
@ -53,6 +53,9 @@ unlike ($output, qr/three/, 'overdue: task 3 does not show up');
|
|||
unlink 'pending.data';
|
||||
ok (!-r 'pending.data', 'Removed pending.data');
|
||||
|
||||
unlink 'completed.data';
|
||||
ok (!-r 'completed.data', 'Removed completed.data');
|
||||
|
||||
unlink 'undo.data';
|
||||
ok (!-r 'undo.data', 'Removed undo.data');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue