Skip to content
Snippets Groups Projects
Commit 67b813cd authored by Clément Pit-Claudel's avatar Clément Pit-Claudel
Browse files

tests: Reformat

parent 828b2467
No related branches found
No related tags found
1 merge request!40Properly handle sudden websocket disconnections
...@@ -99,9 +99,9 @@ class WebSocketSuite extends PingPongSuite: ...@@ -99,9 +99,9 @@ class WebSocketSuite extends PingPongSuite:
withServer: server ?=> withServer: server ?=>
val inst = createInstance(USER_IDS) val inst = createInstance(USER_IDS)
withWs(inst.instanceId): ws => withWs(inst.instanceId): ws =>
ws.receiveText() ws.receiveText()
time: time:
for i <- 0 to 1000 do for i <- 0 to 1000 do
ws.sendText(app.wire.eventFormat.encode(i.toString).toString) ws.sendText(app.wire.eventFormat.encode(i.toString).toString)
val resp = decodeActions(ws.receiveText()) val resp = decodeActions(ws.receiveText())
assertEquals(resp, Seq(Action.Render(i.toString))) assertEquals(resp, Seq(Action.Render(i.toString)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment