From 05c0e18c37c9ece087d55fad2e23913482bb09bd Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 7 Oct 2019 15:53:41 -0700 Subject: [PATCH] Update test to be less environment dependent --- monitor_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor_test.go b/monitor_test.go index 9168cd1..29ab3ba 100644 --- a/monitor_test.go +++ b/monitor_test.go @@ -269,8 +269,8 @@ func TestMonitorCheck(t *testing.T) { "Test failed command", }, { - Monitor{CommandShell: "total failure"}, - expected{isSuccess: false, hasNotice: true, lastOutput: "sh: total: command not found\n"}, + Monitor{CommandShell: "false"}, + expected{isSuccess: false, hasNotice: true, lastOutput: ""}, "Test failed command shell", }, }