diff --git a/vlib/os/os_test.v b/vlib/os/os_test.v index b055263f74..a603ae72c3 100644 --- a/vlib/os/os_test.v +++ b/vlib/os/os_test.v @@ -547,7 +547,7 @@ fn test_posix_set_bit() { fn test_exists_in_system_path() { assert os.exists_in_system_path('') == false $if windows { - assert os.exists_in_system_path('cmd') == true + assert os.exists_in_system_path('cmd.exe') == true return } assert os.exists_in_system_path('ls') == true