mirror of
https://github.com/neovim/neovim.git
synced 2026-04-30 11:14:10 +00: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:
@@ -51,7 +51,7 @@ local function test_embed(ext_linegrid)
|
||||
end)
|
||||
|
||||
it("doesn't erase output when setting color scheme", function()
|
||||
if 'openbsd' == helpers.uname() then
|
||||
if helpers.is_os('openbsd') then
|
||||
pending('FIXME #10804')
|
||||
end
|
||||
startup('--cmd', 'echoerr "foo"', '--cmd', 'color default', '--cmd', 'echoerr "bar"')
|
||||
|
||||
Reference in New Issue
Block a user