diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-26 21:17:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 21:17:38 +0800 |
commit | 41f309adeb9f025d80f2b499f57d68c52b58e649 (patch) | |
tree | 3a95bd41ae95698c769d1b3d893478fb6b61bd76 /test/functional/ex_cmds | |
parent | d0f8f76224f501d919ba6c8a5cd717de76903b34 (diff) | |
parent | 0545bd21805b25b95ed6290d17e2c5804e9dbd98 (diff) | |
download | rneovim-41f309adeb9f025d80f2b499f57d68c52b58e649.tar.gz rneovim-41f309adeb9f025d80f2b499f57d68c52b58e649.tar.bz2 rneovim-41f309adeb9f025d80f2b499f57d68c52b58e649.zip |
Merge pull request #17527 from zeertzjq/test-pending-win32
test: use helpers.pending_win32(pending) instead of iswin()
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r-- | test/functional/ex_cmds/mksession_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/ex_cmds/mksession_spec.lua b/test/functional/ex_cmds/mksession_spec.lua index d11a2cef99..2702fb196f 100644 --- a/test/functional/ex_cmds/mksession_spec.lua +++ b/test/functional/ex_cmds/mksession_spec.lua @@ -10,12 +10,11 @@ local funcs = helpers.funcs local matches = helpers.matches local pesc = helpers.pesc local rmdir = helpers.rmdir -local iswin = helpers.iswin local file_prefix = 'Xtest-functional-ex_cmds-mksession_spec' describe(':mksession', function() - if not iswin() then + if helpers.pending_win32(pending) then return end local session_file = file_prefix .. '.vim' local tab_dir = file_prefix .. '.d' @@ -117,5 +116,4 @@ describe(':mksession', function() matches('^term://'..pesc(expected_cwd)..'//%d+:', funcs.expand('%')) command('qall!') end) - end end) |