Skip to content

Conversation

@JonghoKim-jj
Copy link
Contributor

Closes #280

I implemented the check inside to_cert_chain() rather than try_new().
It makes more sense for the parsing function to guarantee a valid (non-empty) chain.

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 7.93%. Comparing base (4e1dd53) to head (0451308).

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #281      +/-   ##
=========================================
- Coverage   10.19%   7.93%   -2.26%     
=========================================
  Files           8       7       -1     
  Lines         628     529      -99     
=========================================
- Hits           64      42      -22     
+ Misses        564     487      -77     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JonghoKim-jj
Copy link
Contributor Author

We need to verify that error handling is working properly.
I will add test cases after Issue #274 is merged.

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.

Prevent panics in Certs::try_new on invalid input

2 participants