File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
import gleam/erlang/process
2
2
import gleam/http/request
3
3
import gleam/int
4
- import gleam/io
5
4
import gleam/option . { None }
6
5
import gleam/otp/actor
7
6
import gleeunit/should
@@ -11,10 +10,10 @@ import wisp
11
10
import wisp/wisp_mist
12
11
13
12
/// Create a websocket server and client
14
- /// Websocket sends hello on connect
15
- /// Client responsed ping
16
- /// server responsed pong
17
- /// client successfully closes itself
13
+ /// - Websocket sends hello on connect
14
+ /// - Client responsed ping
15
+ /// - Server responsed pong
16
+ /// - Client successfully closes itself
18
17
pub fn websocket_test ( ) {
19
18
let subj = process . new_subject ( )
20
19
let assert Ok ( _ ) = webserver ( )
@@ -58,7 +57,6 @@ fn webserver() {
58
57
|> mist . new
59
58
|> mist . port ( 8000 )
60
59
|> mist . start_http
61
- |> io . debug
62
60
}
63
61
64
62
type Context {
You can’t perform that action at this time.
0 commit comments