mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-03 08:58:34 +02:00
Unit Tests
- All unit tests most now clean up a residual undo.data file, so the number of tests increased, but with no benefit.
This commit is contained in:
parent
5d8c28f72f
commit
dc2bac1b5e
66 changed files with 261 additions and 78 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 26;
|
||||
use Test::More tests => 27;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'confirm.rc')
|
||||
|
@ -99,6 +99,9 @@ like ($output, qr/(Permanently delete task 7 'foo'\? \(y\/n\)) \1 \1/, 'confirma
|
|||
unlink 'pending.data';
|
||||
ok (!-r 'pending.data', 'Removed pending.data');
|
||||
|
||||
unlink 'undo.data';
|
||||
ok (!-r 'undo.data', 'Removed undo.data');
|
||||
|
||||
unlink 'response.txt';
|
||||
ok (!-r 'response.txt', 'Removed response.txt');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue