Skip to content

Commit

Permalink
fix test_default error message #28 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ablankz authored May 4, 2024
1 parent 76ca797 commit b41f767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down

0 comments on commit b41f767

Please sign in to comment.