Skip to content

Commit

Permalink
Make error message more consistent
Browse files Browse the repository at this point in the history
Signed-off-by: dttung2905 <[email protected]>
  • Loading branch information
dttung2905 committed Dec 21, 2022
1 parent af36e52 commit 62018ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ func TestParseConsistency(t *testing.T) {
resp = httptest.NewRecorder()
parseConsistency(resp, req, &b)
if resp.Code != 400 {
t.Fatalf("Bad: %v. Expect response code 400, got %v", b, resp.Code)
t.Fatalf("bad code: %v", resp.Code)
}

b = structs.QueryOptions{}
Expand Down

0 comments on commit 62018ee

Please sign in to comment.