summaryrefslogtreecommitdiffstats
path: root/t/Nagios-Plugin-Threshold.t
diff options
context:
space:
mode:
Diffstat (limited to 't/Nagios-Plugin-Threshold.t')
-rw-r--r--t/Nagios-Plugin-Threshold.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/Nagios-Plugin-Threshold.t b/t/Nagios-Plugin-Threshold.t
index cdb8d77..ccb53eb 100644
--- a/t/Nagios-Plugin-Threshold.t
+++ b/t/Nagios-Plugin-Threshold.t
@@ -113,7 +113,7 @@ SKIP_DEATH:
113 113
114diag "threshold: critical if > 25 " if $ENV{TEST_VERBOSE}; 114diag "threshold: critical if > 25 " if $ENV{TEST_VERBOSE};
115$t = Nagios::Plugin::Threshold->set_thresholds( critical => "~:25" ); 115$t = Nagios::Plugin::Threshold->set_thresholds( critical => "~:25" );
116ok( defined $t, "Threshold ('', '~:25') set (".$t->critical->stringify().")" ); 116ok( defined $t, "Threshold ('', '~:25') set (".$t->critical.")" );
117ok( ! $t->warning->is_set, "Warning not set"); 117ok( ! $t->warning->is_set, "Warning not set");
118cmp_ok( $t->critical->end, '==',25, "Critical end set"); 118cmp_ok( $t->critical->end, '==',25, "Critical end set");
119ok $t->critical->start_infinity, "Critical starts at negative infinity"; 119ok $t->critical->start_infinity, "Critical starts at negative infinity";