diff options
Diffstat (limited to 't/Nagios-Plugin.t')
-rw-r--r-- | t/Nagios-Plugin.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/Nagios-Plugin.t b/t/Nagios-Plugin.t index ed25aca..8921dc5 100644 --- a/t/Nagios-Plugin.t +++ b/t/Nagios-Plugin.t | |||
@@ -5,8 +5,7 @@ use Test::More tests => 9; | |||
5 | BEGIN { use_ok('Nagios::Plugin') }; | 5 | BEGIN { use_ok('Nagios::Plugin') }; |
6 | 6 | ||
7 | use Nagios::Plugin::Base; | 7 | use Nagios::Plugin::Base; |
8 | Nagios::Plugin::Base->exit_on_die(0); | 8 | Nagios::Plugin::Base::_fake_exit(1); |
9 | Nagios::Plugin::Base->print_on_die(0); | ||
10 | 9 | ||
11 | diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n"; | 10 | diag "\nusing Nagios::Plugin revision ". $Nagios::Plugin::VERSION . "\n"; |
12 | 11 | ||