mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-14 01:34:35 +00:00
Restore formatting and remove unused import
This commit is contained in:
@@ -19,7 +19,6 @@ package net
|
||||
*/
|
||||
|
||||
import "core:strings"
|
||||
import "core:strconv"
|
||||
import "core:unicode/utf8"
|
||||
import "core:encoding/hex"
|
||||
|
||||
|
||||
@@ -304,7 +304,7 @@ client_sends_server_data :: proc(t: ^testing.T) {
|
||||
r.length, r.err = net.recv_tcp(client, r.data[:])
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
thread_data := [2]Thread_Data{}
|
||||
|
||||
wg: sync.Wait_Group
|
||||
@@ -313,7 +313,7 @@ client_sends_server_data :: proc(t: ^testing.T) {
|
||||
thread_data[0].t = t
|
||||
thread_data[0].wg = &wg
|
||||
thread_data[0].tid = thread.create_and_start_with_data(&thread_data[0], tcp_server, context)
|
||||
|
||||
|
||||
sync.wait_group_wait(&wg)
|
||||
sync.wait_group_add(&wg, 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user