tests: fix lef_shift test
parent
b67698888c
commit
20bcb6b8bb
vlib/v/checker/tests/inout
|
@ -1,6 +1,6 @@
|
||||||
vlib/v/checker/tests/inout/left_shift_err.v:3:7: error: cannot shift type string into array_int
|
vlib/v/checker/tests/inout/left_shift_err.v:3:7: error: cannot shift type string into array_int
|
||||||
1| fn main() {
|
1| fn main() {
|
||||||
2| l := []int
|
2| l := []int{}
|
||||||
3| l << 'test'
|
3| l << 'test'
|
||||||
~~~~~~
|
~~~~~~
|
||||||
4| }
|
4| }
|
||||||
|
|
Loading…
Reference in New Issue