mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Removed excessive tests that add nothing.
This commit is contained in:
parent
fe7683db4a
commit
90643635cd
1 changed files with 1 additions and 7 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 6;
|
||||
use Test::More tests => 3;
|
||||
|
||||
# Ensure environment has no influence.
|
||||
delete $ENV{'TASKDATA'};
|
||||
|
@ -54,12 +54,6 @@ $output = qx{../src/task rc:$rc long 2>&1};
|
|||
like ($output, qr/one\\/, "$ut: Backslash preserved in description");
|
||||
like ($output, qr/foo\\/, "$ut: Backslash preserved in annotation 1");
|
||||
|
||||
qx{../src/task rc:$rc 1 annotate bar\\\\ 2>&1};
|
||||
$output = qx{../src/task rc:$rc long 2>&1};
|
||||
like ($output, qr/one\\/, "$ut: Backslash preserved in description");
|
||||
like ($output, qr/foo\\/, "$ut: Backslash preserved in annotation 1");
|
||||
like ($output, qr/bar\\/, "$ut: Backslash preserved in annotation 2");
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data), $rc;
|
||||
exit 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue