Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugouel committed Dec 25, 2024
1 parent 7be2d1e commit f18a734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ func TestServe(t *testing.T) {
t.Fatalf("unexpected status code: %d; expected: %d", resp.StatusCode, http.StatusOK)
}
defer resp.Body.Close()
checkHeader(t, resp, "Access-Control-Allow-Origin", "")
checkHeader(t, resp, "Access-Control-Allow-Origin", "*")
},
startHTTP,
},
Expand Down

0 comments on commit f18a734

Please sign in to comment.