aboutsummaryrefslogtreecommitdiff
path: root/lib/websocket/clientmanager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/websocket/clientmanager_test.go')
-rw-r--r--lib/websocket/clientmanager_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/websocket/clientmanager_test.go b/lib/websocket/clientmanager_test.go
index 7ff065ae..91549565 100644
--- a/lib/websocket/clientmanager_test.go
+++ b/lib/websocket/clientmanager_test.go
@@ -58,8 +58,8 @@ func TestClientManagerAdd(t *testing.T) {
gotConns := fmt.Sprintf("%v", clients.conns)
gotCtxLen := len(clients.ctx)
- test.Assert(t, "ClientManager.conns", c.expConns, gotConns, true)
- test.Assert(t, "ClientManager.ctx", c.expCtxLen, gotCtxLen, true)
+ test.Assert(t, "ClientManager.conns", c.expConns, gotConns)
+ test.Assert(t, "ClientManager.ctx", c.expCtxLen, gotCtxLen)
}
}
@@ -103,7 +103,7 @@ func TestClientManagerRemove(t *testing.T) {
gotConns := fmt.Sprintf("%v", clients.conns)
gotCtxLen := len(clients.ctx)
- test.Assert(t, "conns", c.expConns, gotConns, true)
- test.Assert(t, "ClientManager.ctx", c.expCtxLen, gotCtxLen, true)
+ test.Assert(t, "conns", c.expConns, gotConns)
+ test.Assert(t, "ClientManager.ctx", c.expCtxLen, gotCtxLen)
}
}