Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd3bb12

Browse files
jamessangithub-actions[bot]
authored andcommitted
test(ts): skip test if C parser is not available
(cherry picked from commit6b0595d)
1 parentd317cb2 commitbd3bb12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎test/functional/treesitter/language_spec.lua‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ describe('treesitter API', function()
7070
end)
7171

7272
it('checks if vim.treesitter.get_parser tries to create a new parser on filetype change',function ()
73+
ifpending_c_parser(pending)thenreturnend
7374
command("set filetype=c")
7475
-- Should not throw an error when filetype is c
7576
eq('c',exec_lua("return vim.treesitter.get_parser(0):lang()"))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp