From ceabcdd6c3437158658435bf811ed55f8f70111a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 26 Feb 2012 14:37:01 -0500 Subject: [PATCH] Unit Tests - Reduced complexity in the test. --- test/bug.819.t | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/bug.819.t b/test/bug.819.t index eb4a99941..9e0e26676 100755 --- a/test/bug.819.t +++ b/test/bug.819.t @@ -40,15 +40,11 @@ if (open my $fh, '>', 'bug.rc') # Bug 819: When I run "task add foo\'s bar." the description of the new task is "foo 's bar .". qx{../src/task rc:bug.rc add foo\\'s bar.}; +qx{../src/task rc:bug.rc add foo \\(bar\\)}; +qx{../src/task rc:bug.rc add \\'baz \\(qux\\)\\'}; 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"); - -qx{../src/task rc:bug.rc add \\'baz \\(qux\\)\\'}; -$output = qx{../src/task rc:bug.rc ls}; like ($output, qr/baz \(qux\)/, "baz \(qux\) -- preserved"); # Cleanup.