From a7eaa0fa84e7aa3244c37af0bcdf6facdbf4b209 Mon Sep 17 00:00:00 2001 From: muhtasham Date: Sun, 24 May 2026 15:10:00 +0200 Subject: [PATCH] test: support fish deploy hook checks --- cmd/platform/deploy_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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": {