From 40aca079eb3a40561f8a87d96ff6dbcfd84fc852 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 7 Sep 2011 00:41:07 -0400 Subject: [PATCH] Unit Tests - Unit test relied on capturing parentheses, which are no longer necessary. --- test/substitute.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/substitute.t b/test/substitute.t index 81008560b..f833a5a9d 100755 --- a/test/substitute.t +++ b/test/substitute.t @@ -70,9 +70,9 @@ $output = qx{../src/task rc:subst.rc info 1}; like ($output, qr/aaa ccc/, 'word deletion in description'); # Regexes -qx{../src/task rc:subst.rc rc.regex:on 1 modify "/c(c)./C/"}; +qx{../src/task rc:subst.rc rc.regex:on 1 modify "/c{3}/CcC/"}; $output = qx{../src/task rc:subst.rc info 1}; -like ($output, qr/aaa cCc/, 'regex'); +like ($output, qr/aaa CcC/, 'regex'); # Cleanup. unlink 'pending.data';