1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: error if smaller signed == unsigned (#14078)

This commit is contained in:
Nick Treleaven
2022-04-25 10:09:25 +01:00
committed by GitHub
parent 147e6e669f
commit d8a5df9044
11 changed files with 116 additions and 21 deletions

View File

@ -18,7 +18,7 @@ fn test_count_10_times_1_cycle_should_result_10_cycles_with_sync() {
go count_one_cycle(mut counter, mut wg)
}
wg.wait()
assert counter.counter == desired_iterations
assert counter.counter == u64(desired_iterations)
eprintln(' with synchronization the counter is: ${counter.counter:10} , expectedly == ${desired_iterations:10}')
}