mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: check array and fields mutability
This commit is contained in:
@ -28,7 +28,7 @@ fn test_rand_r_seed_update() {
|
||||
|
||||
for _ in 0..rnd_count {
|
||||
prev_seed := seed
|
||||
res := rand.rand_r(&seed)
|
||||
_ := rand.rand_r(&seed)
|
||||
|
||||
assert prev_seed != seed
|
||||
}
|
||||
|
Reference in New Issue
Block a user