test: replace single-character regex alternation with character class#3400
test: replace single-character regex alternation with character class#3400arkid15r merged 1 commit intoOWASP:mainfrom
Conversation
WalkthroughA regex pattern in the Pagination test was refactored to simplify single-character alternation. The pattern Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
@arkid15r |



Proposed change
Fixes #3336
This PR updates a test regular expression by replacing a single-character alternation with a character class, addressing a SonarCloud code quality warning.
No functional behavior is changed.
Checklist
make check-testlocally: all warnings addressed, tests passed