Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
The change caused the test to fail: labstack/echo#2568
  • Loading branch information
kohkimakimoto committed Sep 29, 2024
1 parent 4e88d2e commit c01bdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inertia_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func TestInertia_Render(t *testing.T) {
if res.Code != http.StatusOK {
t.Errorf("should respond with status code 200")
}
if res.Header().Get("Content-Type") != "application/json; charset=UTF-8" {
if res.Header().Get("Content-Type") != "application/json" {
t.Errorf("should respond with Content-Type application/json")
}
})
Expand Down

0 comments on commit c01bdee

Please sign in to comment.