tests: fix the push_work_on_channel.vv output
parent
366ff17bff
commit
990a540851
|
@ -1,6 +1,5 @@
|
||||||
> main start
|
> main start
|
||||||
> work started
|
> work started
|
||||||
> main ch.close called
|
|
||||||
> work x: 0
|
> work x: 0
|
||||||
> work x: 1
|
> work x: 1
|
||||||
> work x: 2
|
> work x: 2
|
||||||
|
|
|
@ -22,7 +22,7 @@ fn main() {
|
||||||
_ := <-work_started
|
_ := <-work_started
|
||||||
|
|
||||||
ch.close()
|
ch.close()
|
||||||
println('> main ch.close called')
|
// println('> main ch.close called') // the position of this is not deterministic
|
||||||
|
|
||||||
task.wait()
|
task.wait()
|
||||||
println('> main task was finished')
|
println('> main task was finished')
|
||||||
|
|
Loading…
Reference in New Issue