diff --git a/main_test.go b/main_test.go index 2abd57ed..d8d3b76f 100644 --- a/main_test.go +++ b/main_test.go @@ -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, },