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:
parent
b6bd6d1d35
commit
c43791b0f5
@ -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 {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user