summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin/ExitResult.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Nagios/Plugin/ExitResult.pm')
-rw-r--r--lib/Nagios/Plugin/ExitResult.pm6
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.
50Nagios::Plugin::ExitResult is a tiny helper class intended for use 50Nagios::Plugin::ExitResult is a tiny helper class intended for use
51when testing other Nagios::Plugin modules. A Nagios::Plugin::ExitResult 51when testing other Nagios::Plugin modules. A Nagios::Plugin::ExitResult
52object is returned by nagios_exit() and friends when 52object is returned by nagios_exit() and friends when
53Nagios::Plugin::Base::_fake_exit has been set, instead of doing a 53Nagios::Plugin::Functions::_fake_exit has been set, instead of doing a
54conventional print + exit. 54conventional print + exit.
55 55
56=head1 AUTHOR 56=head1 AUTHOR