mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
parent
e99a03dbcb
commit
56d652d058
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 3;
|
||||
use Test::More tests => 4;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'bug.rc')
|
||||
|
@ -43,6 +43,10 @@ qx{../src/task rc:bug.rc add foo\\'s bar.};
|
|||
my $output = qx{../src/task rc:bug.rc ls};
|
||||
like ($output, qr/foo's bar\./, "foo's bar. --> preserved");
|
||||
|
||||
qx{../src/task rc:bug.rc add foo \\(bar\\)};
|
||||
$output = qx{../src/task rc:bug.rc ls};
|
||||
like ($output, qr/foo \(bar\)/, "foo \(bar\) -- preserved");
|
||||
|
||||
# Cleanup.
|
||||
unlink qw(pending.data completed.data undo.data backlog.data synch.key bug.rc);
|
||||
ok (! -r 'pending.data' &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue