From 885946a24e0fdd50672289a3ff41980e8f11068f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 26 Jan 2014 13:39:13 -0500 Subject: [PATCH] Unit Tests - It is not an error to have deprecated variables in a release. Test was bad. --- test/bug.991.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/bug.991.t b/test/bug.991.t index aa2c2588a..115510edb 100755 --- a/test/bug.991.t +++ b/test/bug.991.t @@ -28,7 +28,7 @@ use strict; use warnings; -use Test::More tests => 6; +use Test::More tests => 5; # Ensure environment has no influence. delete $ENV{'TASKDATA'}; @@ -51,7 +51,6 @@ qx{../src/task rc:bug.rc add foo 2>&1}; my $output = qx{../src/task rc:bug.rc show 2>&1}; like ($output, qr/^Config Variable\s+Value$/m, 'Variables shown'); unlike ($output, qr/Configuration error/ms, 'No configuration error'); -unlike ($output, qr/deprecated/ms, 'No deprecated variable'); unlike ($output, qr/unrecognized/ms, 'No unrecognized variable'); ## Cleanup.