1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix v_tictactoe.out after 05a1c3e

This commit is contained in:
Delyan Angelov 2022-10-19 22:33:10 +03:00
parent 05a1c3e8a3
commit ffcdac4201
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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 { 5 | for i in 0..9 {
6 | board[i / 3][i % 3] = (i + 1).str() 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