Skip to content

Conversation

appleboy
Copy link
Member

@appleboy appleboy commented Mar 6, 2024

  • Import the reflect package in cors_test.go
  • Add new test cases for parsing wildcard rules in CORS configuration
  • Implement tests to check for panic on multiple wildcards and validate expected results for various wildcard scenarios

ref: #106

- Import the `reflect` package in `cors_test.go`
- Add new test cases for parsing wildcard rules in CORS configuration
- Implement tests to check for panic on multiple wildcards and validate expected results for various wildcard scenarios

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@appleboy appleboy changed the title test: enhance CORS wildcard handling tests test(cors): enhance CORS wildcard handling tests Mar 6, 2024
@appleboy appleboy merged commit 90a7c66 into master Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant