1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

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