-
Notifications
You must be signed in to change notification settings - Fork 2k
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
tests: Add cases to the scn_u32_hex unittest #20463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also remove the empty line 257
17cb3ce
to
fca1c4e
Compare
you might want to add a test that test if the |
fca1c4e
to
79a77db
Compare
I assumed Line 868 would cover that? I added a more explicit test tho. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doppelt approved hält besser
Thanks for dealing with this quickly! |
Contribution description
Follow-up to #20458
@kfessel discovered that the tests were still insufficient. This adds the missing cases.
Technically, all ascii characters could be tested separately...
Testing procedure
make -C tests/unittests/ tests-fmt term
Issues/PRs references
#19894