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

rand: fix incorrect generic function call (#15327)

This commit is contained in:
Subhomoy Haldar
2022-08-02 22:41:49 +05:30
committed by GitHub
parent 51ef8b62ba
commit fcde63127f
2 changed files with 12 additions and 8 deletions

View File

@ -348,7 +348,7 @@ fn test_shuffle() {
}
for digit in 0 .. 10 {
for idx in 0 .. 10 {
assert digits[digit][idx] > 10
assert digits[digit][idx] >= 10
}
// eprintln('digits[$digit]: ${digits[digit]}')
}