Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: improve CORS wildcard handling and testing (#144)
- Add two new test functions in `cors_test.go` for parsing wildcard rules: one without wildcards and one with invalid wildcards - Ensure no wildcard rules are returned when `AllowWildcard` is set to false - Verify that parsing invalid wildcard rules triggers a panic Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information