diff options
author | Sven Nierlein <sven@nierlein.de> | 2015-03-31 00:11:42 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2015-03-31 00:11:42 +0200 |
commit | 4a52ac0ade65d6933ae1ca73d304534657031ca6 (patch) | |
tree | b06fa837c8fd07f61389b0b702ac8c8faa50cb63 | |
parent | 5b2ab7f928b17b2013bdc914e36f7c2314f7b922 (diff) | |
download | monitoring-plugin-perl-4a52ac0ade65d6933ae1ca73d304534657031ca6.tar.gz |
Revert "fix warning in function tests"
This reverts commit 5b2ab7f928b17b2013bdc914e36f7c2314f7b922.
-rw-r--r-- | t/Monitoring-Plugin-Functions-01.t | 2 |
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)) { | |||
19 | is(get_shortname, "MONITORING-PLUGIN-FUNCTIONS-01", "get_shortname ok"); | 19 | is(get_shortname, "MONITORING-PLUGIN-FUNCTIONS-01", "get_shortname ok"); |
20 | 20 | ||
21 | # Hardcoded checks of constants | 21 | # Hardcoded checks of constants |
22 | ok(defined %ERRORS, '%ERRORS defined'); | 22 | ok(%ERRORS, '%ERRORS defined'); |
23 | is(OK, $ERRORS{OK}, "OK => $ERRORS{OK}"); | 23 | is(OK, $ERRORS{OK}, "OK => $ERRORS{OK}"); |
24 | is(WARNING, $ERRORS{WARNING}, "WARNING => $ERRORS{WARNING}"); | 24 | is(WARNING, $ERRORS{WARNING}, "WARNING => $ERRORS{WARNING}"); |
25 | is(CRITICAL, $ERRORS{CRITICAL}, "CRITICAL => $ERRORS{CRITICAL}"); | 25 | is(CRITICAL, $ERRORS{CRITICAL}, "CRITICAL => $ERRORS{CRITICAL}"); |