diff --git a/cors_test.go b/cors_test.go index e8992a5..27bccb1 100644 --- a/cors_test.go +++ b/cors_test.go @@ -419,10 +419,10 @@ func TestDefault(t *testing.T) { t.Error("c.allowedOriginsAll should be true when Default") } if s.allowedHeaders == nil { - t.Error("c.allowedHeaders should be nil when Default") + t.Error("c.allowedHeaders must not be nil when Default") } if s.allowedMethods == nil { - t.Error("c.allowedMethods should be nil when Default") + t.Error("c.allowedMethods must not be nil when Default") } }