mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Other(refactor): Remove always-nil return value of (*Bridge).Close
This commit is contained in:
@ -460,7 +460,7 @@ func withBridge(
|
||||
require.NoError(t, bridge.SetSMTPPort(0))
|
||||
|
||||
// Close the bridge when done.
|
||||
defer func() { require.NoError(t, bridge.Close(ctx)) }()
|
||||
defer bridge.Close(ctx)
|
||||
|
||||
// Use the bridge.
|
||||
tests(bridge, mocks)
|
||||
|
||||
Reference in New Issue
Block a user