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

pull/10589/head
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
1 changed files with 2 additions and 0 deletions

View File

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