diff options
Diffstat (limited to 't/Nagios-Plugin-Threshold.t')
-rw-r--r-- | t/Nagios-Plugin-Threshold.t | 2 |
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 | ||
114 | diag "threshold: critical if > 25 " if $ENV{TEST_VERBOSE}; | 114 | diag "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" ); |
116 | ok( defined $t, "Threshold ('', '~:25') set (".$t->critical->stringify().")" ); | 116 | ok( defined $t, "Threshold ('', '~:25') set (".$t->critical.")" ); |
117 | ok( ! $t->warning->is_set, "Warning not set"); | 117 | ok( ! $t->warning->is_set, "Warning not set"); |
118 | cmp_ok( $t->critical->end, '==',25, "Critical end set"); | 118 | cmp_ok( $t->critical->end, '==',25, "Critical end set"); |
119 | ok $t->critical->start_infinity, "Critical starts at negative infinity"; | 119 | ok $t->critical->start_infinity, "Critical starts at negative infinity"; |