Skip to content

Add test coverage for missing tlsconfig option functions#50

Merged
hyp3rd merged 1 commit intofeat/tlsconfigfrom
copilot/sub-pr-49
Jan 13, 2026
Merged

Add test coverage for missing tlsconfig option functions#50
hyp3rd merged 1 commit intofeat/tlsconfigfrom
copilot/sub-pr-49

Conversation

Copy link
Contributor

Copilot AI commented Jan 13, 2026

Addresses missing test coverage for option functions in pkg/tlsconfig/config.go identified in PR #49 review feedback.

Changes

  • Add tests for WithServerName, WithRootCAs, WithNextProtos, WithCurvePreferences
  • Add tests for WithGetCertificate, WithGetClientCertificate, WithInsecureSkipVerify
  • Add tests for WithKeyLogWriter and WithMaxVersion
  • Verify validation logic and error handling for each option function

Tests follow existing patterns in the package, covering both success and error cases where applicable.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI mentioned this pull request Jan 13, 2026
Copilot AI changed the title [WIP] WIP address feedback on Feat/tlsconfig pull request Add test coverage for missing tlsconfig option functions Jan 13, 2026
Copilot AI requested a review from hyp3rd January 13, 2026 15:51
@hyp3rd hyp3rd marked this pull request as ready for review January 13, 2026 16:05
Copilot AI review requested due to automatic review settings January 13, 2026 16:05
@hyp3rd hyp3rd merged commit 609e75e into feat/tlsconfig Jan 13, 2026
15 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hyp3rd hyp3rd deleted the copilot/sub-pr-49 branch January 13, 2026 16:05
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