From afde6f582d01a7e43d8420c562010102dd75be7f Mon Sep 17 00:00:00 2001 From: Joe Conigliaro Date: Thu, 5 Sep 2019 01:13:52 +1000 Subject: [PATCH] workaround for fn_test on windows --- compiler/tests/fn_test.v | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler/tests/fn_test.v b/compiler/tests/fn_test.v index 436aa4c0b0..5f08a7194a 100644 --- a/compiler/tests/fn_test.v +++ b/compiler/tests/fn_test.v @@ -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) {