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

repl_test.v: fix compilation (non working ones are for now renamed to .skip)

This commit is contained in:
Delyan Angelov
2020-04-13 11:06:41 +03:00
parent 48de1077ec
commit 99db5f53f7
19 changed files with 10 additions and 7 deletions

View File

@@ -32,7 +32,6 @@ const (
'vlib/v/tests/num_lit_call_method_test.v',
'vlib/v/tests/option_test.v',
'vlib/v/tests/pointers_test.v',
'vlib/v/tests/repl/repl_test.v',
'vlib/v/tests/string_interpolation_array_of_structs_test.v',
'vlib/v/tests/string_interpolation_struct_test.v',
'vlib/v/tests/string_interpolation_variadic_test.v',

View File

@@ -37,7 +37,9 @@ fn main() {
//args = 123
if args.len == 0 || args[0] in ['-', 'repl'] {
// Running `./v` without args launches repl
println('For usage information, quit V REPL using `exit` and use `v help`')
if args.len == 0 {
println('For usage information, quit V REPL using `exit` and use `v help`')
}
util.launch_tool(false, 'vrepl')
return
}