mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
test: enable K_spec tests in Windows
This commit is contained in:
@@ -2,8 +2,6 @@ local helpers = require('test.functional.helpers')(after_each)
|
|||||||
local eq, clear, eval, feed =
|
local eq, clear, eval, feed =
|
||||||
helpers.eq, helpers.clear, helpers.eval, helpers.feed
|
helpers.eq, helpers.clear, helpers.eval, helpers.feed
|
||||||
|
|
||||||
if helpers.pending_win32(pending) then return end
|
|
||||||
|
|
||||||
describe('K', function()
|
describe('K', function()
|
||||||
local test_file = 'K_spec_out'
|
local test_file = 'K_spec_out'
|
||||||
before_each(function()
|
before_each(function()
|
||||||
@@ -29,7 +27,7 @@ describe('K', function()
|
|||||||
it("invokes non-prefixed 'keywordprg' as shell command", function()
|
it("invokes non-prefixed 'keywordprg' as shell command", function()
|
||||||
helpers.source([[
|
helpers.source([[
|
||||||
let @a='fnord'
|
let @a='fnord'
|
||||||
set keywordprg=echo\ fnord\ >>]])
|
set keywordprg=echo\ fnord>>]])
|
||||||
|
|
||||||
-- K on the text "K_spec_out" resolves to `!echo fnord >> K_spec_out`.
|
-- K on the text "K_spec_out" resolves to `!echo fnord >> K_spec_out`.
|
||||||
feed('i'..test_file..'<ESC>K')
|
feed('i'..test_file..'<ESC>K')
|
||||||
|
Reference in New Issue
Block a user