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

os: fix os.real_path on Windows (#8822)

This commit is contained in:
Stanislav Ershov
2021-02-19 14:20:06 +05:00
committed by GitHub
parent 745b40c0a3
commit 6a752512b2
3 changed files with 20 additions and 5 deletions

View File

@@ -271,6 +271,10 @@ fn test_cp_all() {
os.cp_all('ex', './', true) or { panic(err) }
}
fn test_realpath() {
assert os.real_path('') == ''
}
fn test_tmpdir() {
t := os.temp_dir()
assert t.len > 0