From 94b4f2bfba40c5604bf6e2cd0dbd739e8c9b5301 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 27 Jun 2015 23:42:24 -0400 Subject: [PATCH] Test: Corrected test --- test/caseless.t | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/caseless.t b/test/caseless.t index a6b0f7fd1..0d212836e 100755 --- a/test/caseless.t +++ b/test/caseless.t @@ -84,17 +84,17 @@ $output = qx{../src/task rc:caseless.rc info 1 2>&1}; like ($output, qr/four five six/, 'one two three\nfour FIVE six -> /five/five/ = caseless succeed'); # Description filter. -$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:yes ls One 2>&1}; -unlike ($output, qr/one two three/, 'one two three\nfour five six -> ls One = fail'); +$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:yes ls /One/ 2>&1}; +unlike ($output, qr/one two three/, 'one two three\nfour five six -> ls /One/ = fail'); -$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:no ls One 2>&1}; +$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:no ls /One/ 2>&1}; like ($output, qr/one two three/, 'one two three\nfour five six -> ls One caseless = succeed'); -$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:yes ls Five 2>&1}; -unlike ($output, qr/four five six/, 'one two three\nfour five six -> ls Five = fail'); +$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:yes ls /Five/ 2>&1}; +unlike ($output, qr/four five six/, 'one two three\nfour five six -> ls /Five/ = fail'); -$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:no ls Five 2>&1}; -like ($output, qr/four five six/, 'one two three\nfour five six -> ls Five caseless = succeed'); +$output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:no ls /Five/ 2>&1}; +like ($output, qr/four five six/, 'one two three\nfour five six -> ls /Five/ caseless = succeed'); # Annotation filter. $output = qx{../src/task rc:caseless.rc rc.search.case.sensitive:yes ls description.contains:Three 2>&1};