Reword the comment on TestCORSAnswersWithConfiguredOrigin (closes #61)
check / check (push) Successful in 11s
check / check (push) Successful in 11s
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
|
||||
// uses access_control_allow_origin: "*" lets any origin read responses,
|
||||
// and a single origin lets that origin read them and no other.
|
||||
// answers with access_control_allow_origin, where "*" lets any origin read
|
||||
// responses and a single origin lets only that origin read them.
|
||||
func TestCORSAnswersWithConfiguredOrigin(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user