Reword the comment on TestCORSAnswersWithConfiguredOrigin (closes #61)
check / check (push) Successful in 2m54s
check / check (push) Successful in 2m54s
The comment was not a readable sentence; it is now one plain sentence saying what the test checks. Model: opus-5-5
This commit is contained in:
@@ -10,8 +10,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// TestCORSAnswersWithConfiguredOrigin checks that the CORS middleware
|
// TestCORSAnswersWithConfiguredOrigin checks that the CORS middleware
|
||||||
// uses access_control_allow_origin: "*" lets any origin read responses,
|
// answers with access_control_allow_origin, where "*" lets any origin read
|
||||||
// and a single origin lets that origin read them and no other.
|
// responses and a single origin lets only that origin read them.
|
||||||
func TestCORSAnswersWithConfiguredOrigin(t *testing.T) {
|
func TestCORSAnswersWithConfiguredOrigin(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user