diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-09-20 08:19:41 +0000 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2021-09-20 08:19:41 +0000 |
commit | 65dadb7e51e206b6411a4518f8a26471d586bc6f (patch) | |
tree | 3d02900c42b5c4483403c73a98fdb7ced3ba3d1a /internal/sshd/session_test.go | |
parent | 37025e61e570e748613d9a5a57a7ae5de1b45af5 (diff) | |
download | gitlab-shell-65dadb7e51e206b6411a4518f8a26471d586bc6f.tar.gz |
refactor: unify instantiation of command.Shell
Diffstat (limited to 'internal/sshd/session_test.go')
-rw-r--r-- | internal/sshd/session_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sshd/session_test.go b/internal/sshd/session_test.go index e4e312c..b014c0c 100644 --- a/internal/sshd/session_test.go +++ b/internal/sshd/session_test.go @@ -145,7 +145,7 @@ func TestHandleShell(t *testing.T) { { desc: "fails to parse command", cmd: `\`, - errMsg: "Failed to parse command: invalid command line string\n", + errMsg: "Failed to parse command: Invalid SSH command\nUnknown command: \\\n", gitlabKeyId: "root", expectedExitCode: 128, }, { |