mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
workaround for fn_test on windows
This commit is contained in:
parent
2c8c6e6636
commit
afde6f582d
@ -76,11 +76,13 @@ fn test_mut_array() {
|
|||||||
mut nums := [1, 2, 3]
|
mut nums := [1, 2, 3]
|
||||||
modify_array(mut nums)
|
modify_array(mut nums)
|
||||||
//assert nums.len == 4
|
//assert nums.len == 4
|
||||||
println(nums)
|
// println(nums)
|
||||||
assert nums[0] == 20
|
assert nums[0] == 20
|
||||||
assert nums[1] == 4
|
assert nums[1] == 4
|
||||||
assert nums[2] == 6
|
assert nums[2] == 6
|
||||||
//assert nums[3] == 888
|
//assert nums[3] == 888
|
||||||
|
// workaround for // [91, 32, -33686272] windows bug
|
||||||
|
println(nums.clone())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn mod_struct(user mut User) {
|
fn mod_struct(user mut User) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user