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

tests: move the test.bin output of macho_test.v to os.temp_dir()

This commit is contained in:
Delyan Angelov 2021-06-27 10:50:17 +03:00
parent 51075ffa15
commit bafea57622
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1,8 +1,10 @@
import os
import v.gen.native import v.gen.native
import v.pref import v.pref
import v.ast import v.ast
fn test_macho() { fn test_macho() {
os.chdir(os.temp_dir())
mut g := native.Gen{ mut g := native.Gen{
pref: &pref.Preferences{} pref: &pref.Preferences{}
out_name: 'test.bin' out_name: 'test.bin'