Skip to content

Commit

Permalink
cleanup simplification for diagnosing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed May 18, 2024
1 parent f1314a8 commit e646bd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vlib/v/pref/vsh_envbang_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ println('hello')
println(os.args)
")!
os.chmod(rnd_vsh_script_path, 0o700)!
cmd := '${os.quoted_path(rnd_vsh_script_path)} abc 123 -option'
res := os.execute(cmd)
res := os.execute('${os.quoted_path(rnd_vsh_script_path)} abc 123 -option')
assert res.exit_code == 0
lines := res.output.split_into_lines()
assert lines[0] == 'hello'
Expand Down

0 comments on commit e646bd6

Please sign in to comment.