mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: is_abs => is_abs_path
This commit is contained in:
@ -278,11 +278,11 @@ fn test_ext() {
|
||||
}
|
||||
|
||||
fn test_is_abs() {
|
||||
assert os.is_abs('/home/user') == true
|
||||
assert os.is_abs('v/vlib') == false
|
||||
assert os.is_abs_path('/home/user') == true
|
||||
assert os.is_abs_path('v/vlib') == false
|
||||
|
||||
$if windows {
|
||||
assert os.is_abs('C:\\Windows\\') == true
|
||||
assert os.is_abs_path('C:\\Windows\\') == true
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user