os: add missing '.exe' in os_test.v (#9269)

pull/9288/head
StunxFS 2021-03-12 12:05:29 -04:00 committed by GitHub
parent cd087515fb
commit 90d942e2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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