Skip to content

Commit f18a734

Browse files
committed
fix failing tests
1 parent 7be2d1e commit f18a734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ func TestServe(t *testing.T) {
909909
t.Fatalf("unexpected status code: %d; expected: %d", resp.StatusCode, http.StatusOK)
910910
}
911911
defer resp.Body.Close()
912-
checkHeader(t, resp, "Access-Control-Allow-Origin", "")
912+
checkHeader(t, resp, "Access-Control-Allow-Origin", "*")
913913
},
914914
startHTTP,
915915
},

0 commit comments

Comments
 (0)