diff --git a/cmd/platform/deploy_test.go b/cmd/platform/deploy_test.go index 00a656e0..5b16517f 100644 --- a/cmd/platform/deploy_test.go +++ b/cmd/platform/deploy_test.go @@ -213,6 +213,7 @@ func TestDeployCommand_DeployHook(t *testing.T) { "./deployer.sh: No such file or directory", "./deployer.sh: not found", "no such file or directory: ./deployer.sh", + "Unknown command: ./deployer.sh", }, }, "echos stdout output to standard out": { @@ -220,7 +221,7 @@ func TestDeployCommand_DeployHook(t *testing.T) { expectedStdout: "example_output_goes_here", }, "echos stderr output to standard err": { - command: ">&2 echo 'uhoh'", + command: "echo 'uhoh' >&2", expectedStderr: []string{"uhoh"}, }, "works well with shell built ins": {