Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(cors): enhance CORS wildcard handling tests #145

Merged
merged 1 commit into from Mar 6, 2024
Merged

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
9 checks passed
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.

None yet

1 participant