all: change single blank comment to blank line (#22016)

This commit is contained in:
yuyi 2024-08-09 19:55:58 +08:00 committed by GitHub
parent 793b66d8d5
commit 19f080ffb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
147 changed files with 319 additions and 339 deletions

View file

@ -151,7 +151,7 @@ fn test_on_close_when_server_closing_connection() ! {
res.nr_closes++
}, test_results)
start_server_in_thread_and_wait_till_it_is_ready_to_accept_connections(mut ws)
//
mut client := websocket.new_client('ws://localhost:30003')!
client.connect()!
spawn client.listen()
@ -164,7 +164,7 @@ fn test_on_close_when_server_closing_connection() ! {
fn test_on_close_when_client_closing_connection() ! {
mut ws := websocket.new_server(.ip, 30004, '')
start_server_in_thread_and_wait_till_it_is_ready_to_accept_connections(mut ws)
//
mut client := websocket.new_client('ws://localhost:30004')!
mut test_results := WebsocketTestResults{}
client.on_close_ref(fn (mut cli websocket.Client, code int, reason string, mut res WebsocketTestResults) ! {