1
0
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:
Joe Conigliaro 2019-09-05 01:13:52 +10:00 committed by Alexander Medvednikov
parent 2c8c6e6636
commit afde6f582d

View File

@ -76,11 +76,13 @@ fn test_mut_array() {
mut nums := [1, 2, 3]
modify_array(mut nums)
//assert nums.len == 4
println(nums)
// println(nums)
assert nums[0] == 20
assert nums[1] == 4
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) {