CAICAIIs opened a new pull request, #3113:
URL: https://github.com/apache/dubbo-go/pull/3113
Summary:
- Add triple_test.go with focused unit tests for `Request`, `Response`,
`Spec`, `Peer`, `StreamType` and `IsEnded`.
- Validate lazy init and persistence of headers/trailers; check interface
contracts (`AnyRequest`, `AnyResponse`, `HTTPClient`).
- Keep tests in `triple_protocol_test` to exercise public API only; no prod
code changes
Coverage impact:
triple.go : key functions now at 100% (except intentional no-op
`internalOnly`); `receiveUnaryResponse` partially covered via mock.
Result:
<img width="1448" height="1314" alt="F248C21121B8886D70DACBBCA97C00B1"
src="https://github.com/user-attachments/assets/2836e975-0a5f-48f1-bdd3-8f55f3f4a0cd"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]