diff options
Diffstat (limited to 't/Nagios-Plugin.t')
-rw-r--r-- | t/Nagios-Plugin.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/Nagios-Plugin.t b/t/Nagios-Plugin.t index 213e514..0ae2113 100644 --- a/t/Nagios-Plugin.t +++ b/t/Nagios-Plugin.t | |||
@@ -4,10 +4,11 @@ use Test::More tests => 12; | |||
4 | 4 | ||
5 | BEGIN { use_ok('Nagios::Plugin') }; | 5 | BEGIN { use_ok('Nagios::Plugin') }; |
6 | 6 | ||
7 | use Nagios::Plugin::Base; | 7 | use Nagios::Plugin::Functions; |
8 | Nagios::Plugin::Base::_fake_exit(1); | 8 | Nagios::Plugin::Functions::_fake_exit(1); |
9 | 9 | ||
10 | diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n"; | 10 | diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n" |
11 | if $ENV{TEST_VERBOSE}; | ||
11 | 12 | ||
12 | my $p = Nagios::Plugin->new; | 13 | my $p = Nagios::Plugin->new; |
13 | isa_ok( $p, "Nagios::Plugin"); | 14 | isa_ok( $p, "Nagios::Plugin"); |