From 051a92bf91c02e155c8c13c632451105ab99aa7e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 24 May 2014 14:29:09 -0400 Subject: [PATCH] Unit Tests - Test was not setting proper verbosity level. --- test/bug.1006.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/bug.1006.t b/test/bug.1006.t index f85e46bb5..9fd5ab929 100755 --- a/test/bug.1006.t +++ b/test/bug.1006.t @@ -36,7 +36,8 @@ delete $ENV{'TASKRC'}; # Create the rc file. if (open my $fh, '>', 'bug.rc') { - print $fh "data.location=.\n"; + print $fh "data.location=.\n", + "verbose=affected\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); } @@ -55,7 +56,7 @@ unlike ($output, qr/description/ms, 'Attribute not completed in description'); # Check that the completion works when needed $output = qx{../src/task rc:bug.rc des:des 2>&1}; -like ($output, qr/^1 task.$/ms, 'Task found using its description'); +like ($output, qr/^1 task$/ms, 'Task found using its description'); qx{../src/task rc:bug.rc add entrée interdite 2>&1}; $output = qx{../src/task rc:bug.rc list interdite 2>&1};