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

Remove self-contradicting test assertion #398

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Remove self-contradicting test assertion #398

merged 1 commit into from
Jan 14, 2025

Conversation

emlun
Copy link
Member

@emlun emlun commented Jan 14, 2025

This variable is named goodResult, implying that the verification should be a success, but the assertion checks that the verification should be a failure. The arguments to verifyX5cRequirements are the same as above for the result variable with badCert. This code is probably a copy-paste error.

@emlun emlun requested a review from fdennis January 14, 2025 13:58
This variable is named `goodResult`, implying that the verification should be a
success, but the assertion checks that the verification should be a failure. The
arguments to `verifyX5cRequirements` are the same as above for the `result`
variable with `badCert`. This code is probably a copy-paste error.
Copy link

Test Results

2 220 tests   2 212 ✅  57s ⏱️
   45 suites      8 💤
   45 files        0 ❌

Results for commit 1f0a741.

@emlun emlun merged commit d33555e into main Jan 14, 2025
20 checks passed
@emlun emlun deleted the bad-assertion branch January 14, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants