mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Make linter happy
This commit is contained in:
parent
16726e2461
commit
07d0010750
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user