aboutsummaryrefslogtreecommitdiff
path: root/test/functional/treesitter/parser_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/treesitter/parser_spec.lua')
-rw-r--r--test/functional/treesitter/parser_spec.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/treesitter/parser_spec.lua b/test/functional/treesitter/parser_spec.lua
index ccbd55df0e..22348c7e20 100644
--- a/test/functional/treesitter/parser_spec.lua
+++ b/test/functional/treesitter/parser_spec.lua
@@ -5,6 +5,8 @@ local eq = helpers.eq
local insert = helpers.insert
local exec_lua = helpers.exec_lua
local feed = helpers.feed
+local iswin = helpers.iswin
+local skip = helpers.skip
before_each(clear)
@@ -12,7 +14,7 @@ describe('treesitter parser API', function()
clear()
it('parses buffer', function()
- if helpers.pending_win32(pending) then return end
+ skip(iswin())
insert([[
int main() {
@@ -684,7 +686,7 @@ int x = INT_MAX;
end)
it("should not inject bad languages", function()
- if helpers.pending_win32(pending) then return end
+ skip(iswin())
exec_lua([=[
vim.treesitter.add_directive("inject-bad!", function(match, _, _, pred, metadata)
metadata.language = "{"