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

tests: update for stricter type checks

This commit is contained in:
Uwe Krüger
2020-05-24 21:07:32 +02:00
committed by GitHub
parent 4e66c12557
commit fd4d28b7b6
25 changed files with 88 additions and 76 deletions

View File

@ -56,7 +56,7 @@ fn test_gamma() {
fn test_mod() {
assert 4 % 2 == 0
x := 2
x := u64(2)
assert u64(5) % x == 1
mut a := 10
a %= 2