From c01d17fcc4646cdde1f979d663bc9a02b3a21b6c Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 27 Aug 2020 13:12:04 +0200 Subject: [PATCH] tests: fix array_test.v --- vlib/builtin/array_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/array_test.v b/vlib/builtin/array_test.v index dc2eb8e618..c5a767ced6 100644 --- a/vlib/builtin/array_test.v +++ b/vlib/builtin/array_test.v @@ -639,7 +639,7 @@ fn test_map() { assert strs.map( it.len + strs.map(it.len)[0] ) == [2, 3, 8] // nested (different it types) - assert strs.map( it[ nums.map(it - it)[0] ] ) == [`v`, `i`, `a`] + assert strs.map( it[ nums.map(it - it)[0] ] ) == [byte(`v`), `i`, `a`] assert nums[0..3].map('$it' + strs.map(it)[it-1]) == ['1v','2is','3awesome'] assert nums.map(map_test_helper_1) == [1,4,9,16,25,36]