diff options
Diffstat (limited to 'lib/Nagios/Plugin/ExitResult.pm')
-rw-r--r-- | lib/Nagios/Plugin/ExitResult.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Nagios/Plugin/ExitResult.pm b/lib/Nagios/Plugin/ExitResult.pm index f059424..191c92a 100644 --- a/lib/Nagios/Plugin/ExitResult.pm +++ b/lib/Nagios/Plugin/ExitResult.pm | |||
@@ -30,10 +30,10 @@ return codes when testing. | |||
30 | =head1 SYNOPSIS | 30 | =head1 SYNOPSIS |
31 | 31 | ||
32 | use Test::More; | 32 | use Test::More; |
33 | use Nagios::Plugin::Base; | 33 | use Nagios::Plugin::Functions; |
34 | 34 | ||
35 | # In a test file somewhere | 35 | # In a test file somewhere |
36 | Nagios::Plugin::Base::_fake_exit(1); | 36 | Nagios::Plugin::Functions::_fake_exit(1); |
37 | 37 | ||
38 | # Later ... | 38 | # Later ... |
39 | $e = nagios_exit( CRITICAL, 'aiiii ...' ); | 39 | $e = nagios_exit( CRITICAL, 'aiiii ...' ); |
@@ -50,7 +50,7 @@ return codes when testing. | |||
50 | Nagios::Plugin::ExitResult is a tiny helper class intended for use | 50 | Nagios::Plugin::ExitResult is a tiny helper class intended for use |
51 | when testing other Nagios::Plugin modules. A Nagios::Plugin::ExitResult | 51 | when testing other Nagios::Plugin modules. A Nagios::Plugin::ExitResult |
52 | object is returned by nagios_exit() and friends when | 52 | object is returned by nagios_exit() and friends when |
53 | Nagios::Plugin::Base::_fake_exit has been set, instead of doing a | 53 | Nagios::Plugin::Functions::_fake_exit has been set, instead of doing a |
54 | conventional print + exit. | 54 | conventional print + exit. |
55 | 55 | ||
56 | =head1 AUTHOR | 56 | =head1 AUTHOR |