Make linter happy

This commit is contained in:
Dan Sosedoff 2022-12-02 14:22:50 -06:00
parent 16726e2461
commit 07d0010750
No known key found for this signature in database
GPG Key ID: 26186197D282B164

View File

@ -68,7 +68,10 @@ func TestSessionManager(t *testing.T) {
assert.Equal(t, 0, manager.Cleanup())
assert.Equal(t, 1, manager.Len())
conn.Query("select 1")
res, err := conn.Query("select 1")
assert.Nil(t, res)
assert.Nil(t, err)
manager.SetIdleTimeout(time.Minute)
assert.Equal(t, 1, manager.Cleanup())
assert.Equal(t, 0, manager.Len())