Files
neovim/test/functional/legacy/quickfix_spec.lua
Justin M. Keyes aa17b4b4bc vim-patch:7.4.1137
Problem:    Illegal memory access when using :copen and :cclose.
Solution:   Avoid that curbuf is invalid. (suggestion by Justin M. Keyes)
            Add a test.

62ef797496
2016-01-28 23:56:58 -05:00

19 lines
429 B
Lua

-- Test for the quickfix commands.
local helpers = require('test.functional.helpers')
local insert, source = helpers.insert, helpers.source
local clear, expect = helpers.clear, helpers.expect
describe('helpgrep', function()
before_each(clear)
it('works', function()
source([[
helpgrep quickfix
copen
" This wipes out the buffer, make sure that doesn't cause trouble.
cclose
]])
end)
end)