From ffcdac4201e9dd41fc7d5f717bd2e0366d3a0c78 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 19 Oct 2022 22:33:10 +0300 Subject: [PATCH] ci: fix v_tictactoe.out after 05a1c3e --- .../tests/with_check_option/v_tictactoe.out | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/vlib/v/checker/tests/with_check_option/v_tictactoe.out b/vlib/v/checker/tests/with_check_option/v_tictactoe.out index 917c7605a4..f41153ee52 100644 --- a/vlib/v/checker/tests/with_check_option/v_tictactoe.out +++ b/vlib/v/checker/tests/with_check_option/v_tictactoe.out @@ -5,3 +5,29 @@ vlib/v/checker/tests/with_check_option/v_tictactoe.vv:4:31: error: expected `ini | ~~~ 5 | for i in 0..9 { 6 | board[i / 3][i % 3] = (i + 1).str() +vlib/v/checker/tests/with_check_option/v_tictactoe.vv:4:36: error: expression evaluated but not used + 2 | + 3 | fn new_board() [][]string { + 4 | mut board := [3][]string{ len: 3, init: []string{ len: 3, init: '' } } + | ^ + 5 | for i in 0..9 { + 6 | board[i / 3][i % 3] = (i + 1).str() +vlib/v/checker/tests/with_check_option/v_tictactoe.vv:4:45: error: expression evaluated but not used + 2 | + 3 | fn new_board() [][]string { + 4 | mut board := [3][]string{ len: 3, init: []string{ len: 3, init: '' } } + | ~~~~~~~~~ + 5 | for i in 0..9 { + 6 | board[i / 3][i % 3] = (i + 1).str() +vlib/v/checker/tests/with_check_option/v_tictactoe.vv:1:1: error: unknown type + 1 | module main + | ^ + 2 | + 3 | fn new_board() [][]string { +vlib/v/checker/tests/with_check_option/v_tictactoe.vv:6:14: error: unknown type for expression `board` + 4 | mut board := [3][]string{ len: 3, init: []string{ len: 3, init: '' } } + 5 | for i in 0..9 { + 6 | board[i / 3][i % 3] = (i + 1).str() + | ~~~~~~~ + 7 | } + 8 | return board