summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-03-29 18:50:37 +0200
committerJustin M. Keyes <justinkz@gmail.com>2026-03-29 18:50:37 +0200
commit44d1f82fbf3336d29925a270e12a61d9b1dc08bd (patch)
tree1fb9d57edf9b7a450307f2004e75adba63d6bbbe /test/functional/lua
parentce31b1faac9df78902a44ad4c7985cfcaf872162 (diff)
test: failing "treesitter.get_parser() returns nil for >= 0.12"
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/deprecated_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/deprecated_spec.lua b/test/functional/lua/deprecated_spec.lua
index fee34336cc..182b7e89de 100644
--- a/test/functional/lua/deprecated_spec.lua
+++ b/test/functional/lua/deprecated_spec.lua
@@ -12,7 +12,7 @@ describe('deprecated lua code', function()
it('returns nil for versions >= 0.12', function()
local result = exec_lua(function()
if vim.version.ge(vim.version(), '0.12') then
- return vim.treesitter.get_parser(0, 'borklang')
+ return (vim.treesitter.get_parser(0, 'borklang'))
end
return nil
end)