ci: fix vcreate_test.v on windows

pull/10544/head
Delyan Angelov 2021-06-22 20:08:20 +03:00
parent b6bd6d1d35
commit c43791b0f5
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ fn init_and_check() ? {
fn test_v_init() ? { fn test_v_init() ? {
dir := os.join_path(os.temp_dir(), test_path) dir := os.join_path(os.temp_dir(), test_path)
os.rmdir_all(dir) or {} os.rmdir_all(dir) or {}
os.mkdir(dir) ? os.mkdir(dir) or {}
defer { defer {
os.rmdir_all(dir) or {} os.rmdir_all(dir) or {}
} }
@ -53,7 +53,7 @@ fn test_v_init() ? {
fn test_v_init_in_git_dir() ? { fn test_v_init_in_git_dir() ? {
dir := os.join_path(os.temp_dir(), test_path) dir := os.join_path(os.temp_dir(), test_path)
os.rmdir_all(dir) or {} os.rmdir_all(dir) or {}
os.mkdir(dir) ? os.mkdir(dir) or {}
defer { defer {
os.rmdir_all(dir) or {} os.rmdir_all(dir) or {}
} }