diff options
author | Enan Ajmain <3nan.ajmain@gmail.com> | 2023-03-15 17:17:30 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-15 04:17:30 -0700 |
commit | d4e2bfbe9cd2a09471da9089f45f89b74d720697 (patch) | |
tree | 5a8c6abaa9c4c467fcac83cec3467c9cd922bb30 /scripts/gen_vimdoc.py | |
parent | d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc (diff) | |
download | rneovim-d4e2bfbe9cd2a09471da9089f45f89b74d720697.tar.gz rneovim-d4e2bfbe9cd2a09471da9089f45f89b74d720697.tar.bz2 rneovim-d4e2bfbe9cd2a09471da9089f45f89b74d720697.zip |
test: Windows not detected in msys shells #22671
Problem:
The functional tests have `is_os(s)` to determine if the current os is.
E.g. `is_os("win")` returns true if the current os is Windows. This is
done by checking if the sysname as detected by luv contains the
substring 'windows'. In MSYS shells, the sysname is looks like
MINGWXX_NT, where XX is either 32 or 64. So if you're using busted or
luv that you built separately, not the nvim-bundled versions, then
`is_os(s)` won't work.
Solution:
Treat sysname containing "mingw" as Windows.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions