You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run v test on vlib\os\os_test.c.v will fail under windows
Reproduction Steps
v vlib\os\os_test.c.v
Expected Behavior
pass the test
Current Behavior
D:\v\v\v>"D:\v\v\v\v.exe" -b c "D:\v\v\v\vlib\os\os_test.c.v"
testsuite_begin, tfolder = C:\Users\DDT\AppData\Local\Temp\v_0\os_tests
C:\Users\DDT\AppData\Local\Temp\v_0\os_tests\tolink_file.txt
D:\\v\\v\\v\\vlib\\os\\os_test.c.v:638: fn test_rmdir_not_exist
> assert err.code() == 0x00000002
Left value (len: 1): `0`
Right value (len: 1): `2`
>>> os.Command is not implemented fully on Windows yet
skipping test_mv_by_cp, because bindfs was not present
skipping test_mv_by_cp, because bindfs was not present
Describe the bug
run v test on vlib\os\os_test.c.v will fail under windows
Reproduction Steps
Expected Behavior
pass the test
Current Behavior
Possible Solution
wrong use of
C.GetLastError()Additional Information/Context
No response
V version
V 0.4.10 af947f1.af947f1
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.