From 4a52ac0ade65d6933ae1ca73d304534657031ca6 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Tue, 31 Mar 2015 00:11:42 +0200 Subject: Revert "fix warning in function tests" This reverts commit 5b2ab7f928b17b2013bdc914e36f7c2314f7b922. diff --git a/t/Monitoring-Plugin-Functions-01.t b/t/Monitoring-Plugin-Functions-01.t index d99dcf7..084ad28 100644 --- a/t/Monitoring-Plugin-Functions-01.t +++ b/t/Monitoring-Plugin-Functions-01.t @@ -19,7 +19,7 @@ foreach my $m ("", qw(::Threshold ::Getopt ::Performance ::Range)) { is(get_shortname, "MONITORING-PLUGIN-FUNCTIONS-01", "get_shortname ok"); # Hardcoded checks of constants -ok(defined %ERRORS, '%ERRORS defined'); +ok(%ERRORS, '%ERRORS defined'); is(OK, $ERRORS{OK}, "OK => $ERRORS{OK}"); is(WARNING, $ERRORS{WARNING}, "WARNING => $ERRORS{WARNING}"); is(CRITICAL, $ERRORS{CRITICAL}, "CRITICAL => $ERRORS{CRITICAL}"); -- cgit v0.10-9-g596f