From d1664b3f55a2c60ceb6d721231ad79a31d664030 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 4 Jan 2015 10:40:21 -0500 Subject: [PATCH] Unit Tests - Re-enabled bug.982.t and fixed the regex so it is right. This test was created for a parsing bug which is now fixed. --- test/{bug.982.x => bug.982.t} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename test/{bug.982.x => bug.982.t} (95%) diff --git a/test/bug.982.x b/test/bug.982.t similarity index 95% rename from test/bug.982.x rename to test/bug.982.t index c37b654de..086b74ff4 100755 --- a/test/bug.982.x +++ b/test/bug.982.t @@ -46,10 +46,9 @@ if (open my $fh, '>', $rc) } # Bug 982: Missing words when adding a description with NUMBER-SOMETHING - qx{../src/task rc:$rc add 1-test 1+tag 2>&1}; my $output = qx{../src/task rc:$rc 1 info 2>&1}; -like ($output, qr/^Description 1-test 1\+tag$/ms, 'Description contains plus and minus signs'); +like ($output, qr/^Description\s+1-test 1\+tag$/ms, "$ut: Description contains plus and minus signs"); # Cleanup. unlink qw(pending.data completed.data undo.data backlog.data), $rc;