Skip to content

Commit

Permalink
tests: improve the diagnostic information from init_global_test.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Nov 18, 2024
1 parent aca5358 commit e4e0604
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vlib/v/tests/init_global_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ fn test_global_shared() {
sem.post()
t.wait()
eprintln('> a: ${a} | b: ${b}')
assert (a == 13.75 && b == -35.125) || (a == -35.125 && b == 13.75)
c1 := dump(a == 13.75 && b == -35.125)
c2 := dump(a == -35.125 && b == 13.75)
assert c1 || c2
}

fn test_global_shared_map() {
Expand Down

0 comments on commit e4e0604

Please sign in to comment.