From 20bcb6b8bb24a4ba8915e24982a246186eae6468 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 26 Apr 2020 09:29:26 +0200 Subject: [PATCH] tests: fix lef_shift test --- vlib/v/checker/tests/inout/left_shift_err.out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/v/checker/tests/inout/left_shift_err.out b/vlib/v/checker/tests/inout/left_shift_err.out index 9a0eb17bef..d28a20d59d 100644 --- a/vlib/v/checker/tests/inout/left_shift_err.out +++ b/vlib/v/checker/tests/inout/left_shift_err.out @@ -1,6 +1,6 @@ vlib/v/checker/tests/inout/left_shift_err.v:3:7: error: cannot shift type string into array_int 1| fn main() { - 2| l := []int + 2| l := []int{} 3| l << 'test' ~~~~~~ - 4| } \ No newline at end of file + 4| }