summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2024-11-21 15:53:53 +0100
committerValery Piashchynski <[email protected]>2024-11-21 15:53:53 +0100
commit8c9aed54caa5efd8e2e292086302e1db14d11213 (patch)
tree230d70b6364129511e39ad34ff8efbb1f9f3ec1d
parentbdcc01a7ff4774bdc0cc57c02236d5aca176b574 (diff)
chore: remove defer
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r--internal/rpc/client_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/rpc/client_test.go b/internal/rpc/client_test.go
index 60dd754b..79335c0c 100644
--- a/internal/rpc/client_test.go
+++ b/internal/rpc/client_test.go
@@ -62,8 +62,6 @@ func TestNewClient_WithIncludes(t *testing.T) {
assert.NotNil(t, c)
assert.NoError(t, err)
-
- defer func() { assert.NoError(t, c.Close()) }()
}
func TestNewClient_SuccessfullyConnectedOverride(t *testing.T) {