os: add missing '.exe' in os_test.v (#9269)
parent
cd087515fb
commit
90d942e2ec
|
@ -547,7 +547,7 @@ fn test_posix_set_bit() {
|
||||||
fn test_exists_in_system_path() {
|
fn test_exists_in_system_path() {
|
||||||
assert os.exists_in_system_path('') == false
|
assert os.exists_in_system_path('') == false
|
||||||
$if windows {
|
$if windows {
|
||||||
assert os.exists_in_system_path('cmd') == true
|
assert os.exists_in_system_path('cmd.exe') == true
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
assert os.exists_in_system_path('ls') == true
|
assert os.exists_in_system_path('ls') == true
|
||||||
|
|
Loading…
Reference in New Issue