Skip to content

Commit a7eaa0f

Browse files
committed
test: support fish deploy hook checks
1 parent 85f5c96 commit a7eaa0f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/platform/deploy_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,15 @@ func TestDeployCommand_DeployHook(t *testing.T) {
213213
"./deployer.sh: No such file or directory",
214214
"./deployer.sh: not found",
215215
"no such file or directory: ./deployer.sh",
216+
"Unknown command: ./deployer.sh",
216217
},
217218
},
218219
"echos stdout output to standard out": {
219220
command: "echo example_output_goes_here",
220221
expectedStdout: "example_output_goes_here",
221222
},
222223
"echos stderr output to standard err": {
223-
command: ">&2 echo 'uhoh'",
224+
command: "echo 'uhoh' >&2",
224225
expectedStderr: []string{"uhoh"},
225226
},
226227
"works well with shell built ins": {

0 commit comments

Comments
 (0)