From b418181dfe80dd75169b6e8a619ac1932155dea2 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Mon, 20 Jan 2014 00:54:34 +0100 Subject: renamed module into Monitoring::Plugin since the complete monitoring team has been renamed, we also rename this module. Signed-off-by: Sven Nierlein --- t/Monitoring-Plugin-05.t | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 t/Monitoring-Plugin-05.t (limited to 't/Monitoring-Plugin-05.t') diff --git a/t/Monitoring-Plugin-05.t b/t/Monitoring-Plugin-05.t new file mode 100644 index 0000000..d17464f --- /dev/null +++ b/t/Monitoring-Plugin-05.t @@ -0,0 +1,15 @@ +# Check for exported vars +# Can't include Monitoring::Plugin::Functions because it also exports %STATUS_TEXT + +use strict; +use Test::More tests=>4; + +BEGIN { use_ok('Monitoring::Plugin') }; + +eval ' $_ = $STATUS_TEXT{0} '; +like( $@, '/Global symbol "%STATUS_TEXT" requires explicit package name/' ); + +use_ok("Monitoring::Plugin", qw(%STATUS_TEXT)); + +eval ' $_ = $STATUS_TEXT{0} '; +is( $@, '' ); -- cgit v1.2.3-74-g34f1