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

all: update chdir usages

This commit is contained in:
Alexander Medvednikov
2021-08-28 09:39:18 +03:00
parent 853d3cb83e
commit 29f550158e
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ const source = 'vlib/flag/testdata/simplest_flag_program.v'
const simple_flag_app_executable = os.real_path(os.join_path(os.cache_dir(), 'simple_flag_app.exe'))
fn testsuite_begin() {
os.chdir(@VMODROOT)
os.chdir(@VMODROOT) or {}
os.rm(simple_flag_app_executable) or {}
res := os.execute('${@VEXE} -o $simple_flag_app_executable $source')
assert res.exit_code == 0