tests: fix the push_work_on_channel.vv output

master
Delyan Angelov 2022-05-19 11:30:36 +03:00
parent 3d5617c4fa
commit a52590572f
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
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')