mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix is_abs_path function for Windows systems (#14397)
This commit is contained in:
@ -590,14 +590,6 @@ fn test_ext() {
|
||||
assert os.file_ext('file') == ''
|
||||
}
|
||||
|
||||
fn test_is_abs() {
|
||||
assert os.is_abs_path('/home/user')
|
||||
assert os.is_abs_path('v/vlib') == false
|
||||
$if windows {
|
||||
assert os.is_abs_path('C:\\Windows\\')
|
||||
}
|
||||
}
|
||||
|
||||
fn test_join() {
|
||||
$if windows {
|
||||
assert os.join_path('v', 'vlib', 'os') == 'v\\vlib\\os'
|
||||
|
Reference in New Issue
Block a user