[monitoring-plugin-perl] Revert "fix warning in function tests"

Sven Nierlein git at monitoring-plugins.org
Tue Mar 31 00:20:04 CEST 2015


 Module: monitoring-plugin-perl
 Branch: master
 Commit: 4a52ac0ade65d6933ae1ca73d304534657031ca6
 Author: Sven Nierlein <sven at nierlein.de>
   Date: Tue Mar 31 00:11:42 2015 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugin-perl/commit/?id=4a52ac0

Revert "fix warning in function tests"

This reverts commit 5b2ab7f928b17b2013bdc914e36f7c2314f7b922.

---

 t/Monitoring-Plugin-Functions-01.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}");



More information about the Commits mailing list