From 19ef6a672db4fdd91df6aa432b4d815e06646799 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 27 Feb 2011 12:05:10 -0500 Subject: [PATCH] Unit Tests - Fixed assumption that "task add ...; sleep 1; task list" will never yield results with "2 secs" as a task age. --- test/hook.format-age.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hook.format-age.t b/test/hook.format-age.t index de9271818..36c8a9374 100755 --- a/test/hook.format-age.t +++ b/test/hook.format-age.t @@ -59,7 +59,7 @@ if ($output =~ /PUC-Rio/) sleep 1; $output = qx{../src/task rc:hook.rc list}; - like ($output, qr/<\d\ssec>/, 'format-age hook age -> '); + like ($output, qr/<\d\ssecs?>/, 'format-age hook age -> '); } else {