Skip to content

Fix strings passed to Check's asserts in tests #283

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

Merged
merged 1 commit into from
Jun 28, 2020

Conversation

brarcher
Copy link
Contributor

There were cases where Check's unit tests were using Check
asserts by passing in a message that was either not a string
literal or passed no format arguments. This was pointed out
by the format-security warning. This commit fixes these cases.

There were cases where Check's unit tests were using Check
asserts by passing in a message that was either not a string
literal or passed no format arguments. This was pointed out
by the format-security warning. This commit fixes these cases.
@brarcher brarcher merged commit ab0c09b into master Jun 28, 2020
@brarcher brarcher deleted the format-security-in-tests branch June 28, 2020 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant