tests: fix the push_work_on_channel.vv output

Delyan Angelov 2022-05-19 11:30:36 +03:00 committed by Jef Roosens
parent 366ff17bff
commit 990a540851
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
> main start
> work started
> main ch.close called
> work x: 0
> work x: 1
> work x: 2

View File

@ -22,7 +22,7 @@ fn main() {
_ := <-work_started
ch.close()
println('> main ch.close called')
// println('> main ch.close called') // the position of this is not deterministic
task.wait()
println('> main task was finished')