Update test to be less environment dependent
continuous-integration/drone/push Build is passing Details

This commit is contained in:
IamTheFij 2019-10-07 15:53:41 -07:00
parent 971710df84
commit 05c0e18c37
1 changed files with 2 additions and 2 deletions

View File

@ -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",
},
}