mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 10:26:42 +10:00
test: simplify platform detection (#21020)
Extend the capabilities of is_os to detect more platforms such as
freebsd and openbsd. Also remove `iswin()` helper function as it can be
replaced by `is_os("win")`.
This commit is contained in:
@@ -6,7 +6,7 @@ local nvim_prog = helpers.nvim_prog
|
||||
local feed_command = helpers.feed_command
|
||||
local feed_data = thelpers.feed_data
|
||||
|
||||
if helpers.skip(helpers.iswin()) then return end
|
||||
if helpers.skip(helpers.is_os('win')) then return end
|
||||
|
||||
describe('autoread TUI FocusGained/FocusLost', function()
|
||||
local f1 = 'xtest-foo'
|
||||
|
||||
Reference in New Issue
Block a user