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

[]: update all examples and tests

This commit is contained in:
Alexander Medvednikov
2019-11-14 10:00:22 +03:00
parent 96b530cf85
commit 7d924679a6
10 changed files with 390 additions and 389 deletions

View File

@ -143,7 +143,7 @@ pub fn run_repl() []string {
os.write_file(file, source_code)
s := os.exec('"$vexe" run $file -repl') or {
rerror(err)
return []string
return []
}
print_output(s)
}
@ -160,7 +160,7 @@ pub fn run_repl() []string {
s := os.exec('"$vexe" run $temp_file -repl') or {
println("SDFSDF")
rerror(err)
return []string
return []
}
if !func_call && s.exit_code == 0 && !temp_flag {
for r.temp_lines.len > 0 {