Skip to content

Commit

Permalink
Merge pull request #33184 from vespa-engine/toregge/supply-format-str…
Browse files Browse the repository at this point in the history
…ing-for-error-message

Supply format string for error message.
  • Loading branch information
toregge authored Jan 27, 2025
2 parents 97dcb4c + 012a76c commit 5c11f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/go/internal/cli/cmd/document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func assertDocumentGet(client *mock.HTTPClient, args []string, documentIds []str

func assertDocumentTransportError(t *testing.T, errorMessage string) {
client := &mock.HTTPClient{}
client.NextResponseError(fmt.Errorf(errorMessage))
client.NextResponseError(fmt.Errorf("%s", errorMessage))
cli, _, stderr := newTestCLI(t)
cli.httpClient = client
assert.NotNil(t, cli.Run("-t", "http://127.0.0.1:8080", "document", "put",
Expand Down

0 comments on commit 5c11f65

Please sign in to comment.