diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-02-28 06:24:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 06:24:23 -0500 |
commit | 3b927762264c27aaeb31b83ba2e4924d5312ddcc (patch) | |
tree | 0c8252f2636b84b8387cfbe1754bb7a6928bd4ca /test/helpers.lua | |
parent | a87b52d328d5f78965d6eaff7efab7b63069bdc0 (diff) | |
parent | ce597235a26839826de88ecd8b949ec54c310fbd (diff) | |
download | rneovim-3b927762264c27aaeb31b83ba2e4924d5312ddcc.tar.gz rneovim-3b927762264c27aaeb31b83ba2e4924d5312ddcc.tar.bz2 rneovim-3b927762264c27aaeb31b83ba2e4924d5312ddcc.zip |
Merge #22382 has('gui_running')
Diffstat (limited to 'test/helpers.lua')
-rw-r--r-- | test/helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index d45536b42b..117b6b4aaa 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -312,7 +312,7 @@ function module.is_os(s) or s == 'bsd') then error('unknown platform: '..tostring(s)) end - return ((s == 'win' and module.sysname():find('windows')) + return not not ((s == 'win' and module.sysname():find('windows')) or (s == 'mac' and module.sysname() == 'darwin') or (s == 'freebsd' and module.sysname() == 'freebsd') or (s == 'openbsd' and module.sysname() == 'openbsd') |