workaround for fn_test on windows

pull/1861/head^2
Joe Conigliaro 2019-09-05 01:13:52 +10:00 committed by Alexander Medvednikov
parent 2c8c6e6636
commit afde6f582d
1 changed files with 4 additions and 2 deletions

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) {