summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2015-03-31 00:11:42 +0200
committerSven Nierlein <sven@nierlein.de>2015-03-31 00:11:42 +0200
commit4a52ac0ade65d6933ae1ca73d304534657031ca6 (patch)
treeb06fa837c8fd07f61389b0b702ac8c8faa50cb63 /t
parent5b2ab7f928b17b2013bdc914e36f7c2314f7b922 (diff)
downloadmonitoring-plugin-perl-4a52ac0ade65d6933ae1ca73d304534657031ca6.tar.gz
Revert "fix warning in function tests"
This reverts commit 5b2ab7f928b17b2013bdc914e36f7c2314f7b922.
Diffstat (limited to 't')
-rw-r--r--t/Monitoring-Plugin-Functions-01.t2
1 files changed, 1 insertions, 1 deletions
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)) {
19is(get_shortname, "MONITORING-PLUGIN-FUNCTIONS-01", "get_shortname ok"); 19is(get_shortname, "MONITORING-PLUGIN-FUNCTIONS-01", "get_shortname ok");
20 20
21# Hardcoded checks of constants 21# Hardcoded checks of constants
22ok(defined %ERRORS, '%ERRORS defined'); 22ok(%ERRORS, '%ERRORS defined');
23is(OK, $ERRORS{OK}, "OK => $ERRORS{OK}"); 23is(OK, $ERRORS{OK}, "OK => $ERRORS{OK}");
24is(WARNING, $ERRORS{WARNING}, "WARNING => $ERRORS{WARNING}"); 24is(WARNING, $ERRORS{WARNING}, "WARNING => $ERRORS{WARNING}");
25is(CRITICAL, $ERRORS{CRITICAL}, "CRITICAL => $ERRORS{CRITICAL}"); 25is(CRITICAL, $ERRORS{CRITICAL}, "CRITICAL => $ERRORS{CRITICAL}");