mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: add os.quoted_path/1, use it consistently for running V itself
This commit is contained in:
@ -3803,7 +3803,7 @@ file, can easily run *other* test files like this:
|
||||
import os
|
||||
|
||||
fn test_subtest() {
|
||||
res := os.execute('${@VEXE} other_test.v')
|
||||
res := os.execute('${os.quoted_path(@VEXE)} other_test.v')
|
||||
assert res.exit_code == 1
|
||||
assert res.output.contains('other_test.v does not exist')
|
||||
}
|
||||
|
Reference in New Issue
Block a user