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

ci: fix vcreate_test.v on windows

This commit is contained in:
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

View File

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