mirror of
https://github.com/vlang/v.git
synced 2025-09-17 03:17:25 -04:00
tests: fix syntax error in go_array_wait_test.v (#20342)
This commit is contained in:
parent
8cef744b0d
commit
c0d7c58b1b
@ -41,9 +41,8 @@ fn test_array_thread_void_wait() {
|
||||
|
||||
fn test_void_thread_decl() {
|
||||
shared a := [2, 3, 9]
|
||||
mut t1 := thread(0)
|
||||
mut t1 := spawn g(shared a, 0)
|
||||
mut tarr := []thread{len: 2}
|
||||
t1 = spawn g(shared a, 0)
|
||||
tarr[0] = spawn g(shared a, 1)
|
||||
tarr[1] = spawn g(shared a, 2)
|
||||
t1.wait()
|
||||
|
Loading…
x
Reference in New Issue
Block a user