mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: join => join_path
This commit is contained in:
@ -307,9 +307,9 @@ fn test_is_abs() {
|
||||
|
||||
fn test_join() {
|
||||
$if windows {
|
||||
assert os.join('v', 'vlib', 'os') == 'v\\vlib\\os'
|
||||
assert os.join_path('v', 'vlib', 'os') == 'v\\vlib\\os'
|
||||
} $else {
|
||||
assert os.join('v', 'vlib', 'os') == 'v/vlib/os'
|
||||
assert os.join_path('v', 'vlib', 'os') == 'v/vlib/os'
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user