Skip to content

Commit 2b0d8a7

Browse files
committed
Fix test
1 parent f5a2901 commit 2b0d8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shellwords_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func TestBacktickError(t *testing.T) {
116116
if err == nil {
117117
t.Fatal("Should be an error")
118118
}
119-
expected := "exit status 2:go: unknown subcommand \"Version\"\nRun 'go help' for usage.\n"
119+
expected := "exit status 2:go Version: unknown command\nRun 'go help' for usage.\n"
120120
if expected != err.Error() {
121121
t.Fatalf("Expected %q, but %q", expected, err.Error())
122122
}

0 commit comments

Comments
 (0)