-
Notifications
You must be signed in to change notification settings - Fork 7
test: Add new NFA test cases for schema rules with integers, a key-value pair capture group, and more complex repetition patterns. #109
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: Add new NFA test cases for schema rules with integers, a key-value pair capture group, and more complex repetition patterns. #109
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe test file Changes
Sequence Diagram(s)sequenceDiagram
participant TestRunner
participant test_nfa
participant NFA_Serializer
TestRunner->>test_nfa: Provide schema and expected NFA string
test_nfa->>NFA_Serializer: Serialize schema to NFA string
NFA_Serializer-->>test_nfa: Return serialized NFA
test_nfa-->>TestRunner: Compare to expected, report result
Possibly related PRs
Suggested reviewers
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
For the title, how about:
|
Co-authored-by: davidlion <[email protected]>
Description
Add NFA tests for:
capture:(a+=(?<val>1+),)+
,int:\\-{0,1}\\d+
,keyValuePair:[A]+=(?<val>[=AB]*A[=AB]*)
.Clean up existing tests to be more concise.
Validation performed
New tests run successfully.
Summary by CodeRabbit