Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

BREAKING CHANGE(mocks): make TLSConn usable#30

Merged
bassosimone merged 2 commits intomainfrom
fix/tlsmocks
Mar 1, 2025
Merged

BREAKING CHANGE(mocks): make TLSConn usable#30
bassosimone merged 2 commits intomainfrom
fix/tlsmocks

Conversation

@bassosimone
Copy link
Member

I missed that HandshakeContext actually needs a context argument 🤦. Additionally, it seems more ergonomic to use a pointer embedding for Conn since that leads to less toil when writing unit tests.

@bassosimone bassosimone changed the title BREAKING CHANGE(mocks): make TLSConn truly usable BREAKING CHANGE(mocks): make TLSConn usable Mar 1, 2025
@bassosimone bassosimone merged commit 630a03b into main Mar 1, 2025
3 checks passed
@codecov
Copy link

codecov bot commented Mar 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
mocks/tlsconn.go 100.00% <100.00%> (ø)

@bassosimone bassosimone deleted the fix/tlsmocks branch March 1, 2025 11:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments