summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2015-03-30 17:32:53 +0200
committerSven Nierlein <sven@nierlein.de>2015-03-30 17:32:53 +0200
commit5b2ab7f928b17b2013bdc914e36f7c2314f7b922 (patch)
tree43276f0865d29d07ddae39c0abde721f48589e33 /t
parent4f60c45a99233010365ed34c380b156335672e0c (diff)
downloadmonitoring-plugin-perl-5b2ab7f928b17b2013bdc914e36f7c2314f7b922.tar.gz
fix warning in function tests
fixes https://rt.cpan.org/Ticket/Display.html?id=103190 Signed-off-by: Sven Nierlein <sven@nierlein.de>
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 084ad28..d99dcf7 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(%ERRORS, '%ERRORS defined'); 22ok(defined %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}");