fix old tests

pull/13646/head
Kyle Lin 2022-03-04 01:31:47 +08:00
parent 403a303351
commit 85bf3b7660
2 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,5 @@
vlib/v/parser/tests/fn_type_only_args_no_body.vv:2:1: error: functions with type only args can not have bodies
vlib/v/parser/tests/fn_type_only_args_no_body.vv:1:14: error: functions with type only args can not have bodies
1 | fn test(int) {
| ^
2 | }
| ^
3 |
4 | fn main() {
3 |

View File

@ -1,6 +1,5 @@
vlib/v/parser/tests/fn_type_only_args_unknown_name.vv:2:1: error: functions with type only args can not have bodies
vlib/v/parser/tests/fn_type_only_args_unknown_name.vv:1:16: error: functions with type only args can not have bodies
1 | fn test(param) {
| ^
2 | }
| ^
3 |
4 | fn main() {
3 |