mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
add production mode tests
Due to the inability to detect warnings in REPL tests, I implemented running something very similar, but with the -prod flag enabled. (See https://github.com/vlang/v/pull/2536) There is also a minor change in os.walk_ext to not add duplicated path separators: /path//file.ext -> /path/file.ext
This commit is contained in:
committed by
Alexander Medvednikov
parent
da574640e7
commit
ab37081f02
@@ -3,7 +3,7 @@ import compiler.tests.repl.runner
|
||||
import benchmark
|
||||
|
||||
fn test_the_v_compiler_can_be_invoked() {
|
||||
vexec := runner.full_path_to_v()
|
||||
vexec := runner.full_path_to_v(5)
|
||||
println('vexecutable: $vexec')
|
||||
assert vexec != ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user