mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: update chmod/chdir usages
This commit is contained in:
parent
29f550158e
commit
f731060caf
7 changed files with 19 additions and 19 deletions
|
@ -13,12 +13,12 @@ fn testsuite_begin() {
|
|||
os.rmdir_all(tfolder) or {}
|
||||
assert !os.is_dir(tfolder)
|
||||
os.mkdir_all(tfolder) or { panic(err) }
|
||||
os.chdir(tfolder)
|
||||
os.chdir(tfolder) or {}
|
||||
assert os.is_dir(tfolder)
|
||||
}
|
||||
|
||||
fn testsuite_end() {
|
||||
os.chdir(os.wd_at_startup)
|
||||
os.chdir(os.wd_at_startup) or {}
|
||||
os.rmdir_all(tfolder) or {}
|
||||
assert !os.is_dir(tfolder)
|
||||
// eprintln('testsuite_end , tfolder = $tfolder removed.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue