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:
@@ -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',
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user