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

Wrote tests for the rsa.go file #1386

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

jakobht
Copy link
Member

@jakobht jakobht commented Nov 6, 2024

What changed?
Wrote tests for rsa.go (now 85.7% according to goland)

Some of the error cases in loadRSAKey are not reachable without manipulating the key bytes to trigger them. I didn't do those

Why?
Improve code coverage

How did you test it?

Potential risks

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.98%. Comparing base (12e7e33) to head (239d7e5).

Additional details and impacted files

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12e7e33...239d7e5. Read the comment docs.

@jakobht jakobht merged commit 7ea1dc7 into cadence-workflow:master Nov 6, 2024
11 checks passed
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.

2 participants