summaryrefslogtreecommitdiffstats
path: root/plugins/t/negate.t
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2023-04-14 20:02:42 (GMT)
committerGitHub <noreply@github.com>2023-04-14 20:02:42 (GMT)
commitaff54257822a507121aaaee0b6b8cdfdef41b615 (patch)
treeabfb970cab5f7bfed94fe0b70ddfc37ed24cc567 /plugins/t/negate.t
parente44dcb80f1fdab2751cd460325391676e4f1a466 (diff)
parent0f3703e641f0f995a8abb40056cb5430b6c228c4 (diff)
downloadmonitoring-plugins-aff54257822a507121aaaee0b6b8cdfdef41b615.tar.gz
Merge pull request #1864 from waja/seperated_typo
Fix typos
Diffstat (limited to 'plugins/t/negate.t')
-rw-r--r--plugins/t/negate.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/negate.t b/plugins/t/negate.t
index d96a109..5ec1c84 100644
--- a/plugins/t/negate.t
+++ b/plugins/t/negate.t
@@ -84,7 +84,7 @@ foreach my $current_state (keys(%state)) {
84 foreach my $new_state (keys(%state)) { 84 foreach my $new_state (keys(%state)) {
85 $res = NPTest->testCmd( "./negate -s --$current_state=$new_state ./check_dummy ".$state{$current_state}." 'Fake $new_state'" ); 85 $res = NPTest->testCmd( "./negate -s --$current_state=$new_state ./check_dummy ".$state{$current_state}." 'Fake $new_state'" );
86 is( $res->return_code, $state{$new_state}, "Got fake $new_state (with substitute)" ); 86 is( $res->return_code, $state{$new_state}, "Got fake $new_state (with substitute)" );
87 is( $res->output, uc($new_state).": Fake $new_state", "Substitued fake $new_state output"); 87 is( $res->output, uc($new_state).": Fake $new_state", "Substituted fake $new_state output");
88 } 88 }
89} 89}
90 90