mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
fix(tests): use pending_c_parser when needed
This commit is contained in:
@@ -4,12 +4,16 @@ local clear = helpers.clear
|
||||
local insert = helpers.insert
|
||||
local eq = helpers.eq
|
||||
local exec_lua = helpers.exec_lua
|
||||
local pending_c_parser = helpers.pending_c_parser
|
||||
|
||||
before_each(clear)
|
||||
|
||||
describe('treesitter utils', function()
|
||||
clear()
|
||||
before_each(clear)
|
||||
|
||||
it('can find an ancestor', function()
|
||||
if pending_c_parser(pending) then return end
|
||||
|
||||
insert([[
|
||||
int main() {
|
||||
int x = 3;
|
||||
|
||||
Reference in New Issue
Block a user