tests: fix failed tests (#4901)

fix failed tests for tiger, t32 and wgsl
This commit is contained in:
Pham Huy Hoang 2023-06-05 09:52:36 +09:00 committed by GitHub
parent e54c8873ef
commit 9ec2a6bbda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 44 additions and 74 deletions

View file

@ -6,7 +6,6 @@
; Control flow statements
(
(if_block
_*
condition: (_)
. (_) @_then) @indent.begin
(#not-has-type? @_then block)
@ -20,17 +19,16 @@
(
(else_block
(if_block
_*
condition: (_)
. (_) @_then)) @indent.branch
(#not-has-type? @_then block)
)
(while_block
(command_expression)) @indent.begin
(command_expression)) @indent.auto
(repeat_block
(command_expression)) @indent.begin
(command_expression)) @indent.auto
(comment) @indent.ignore
(comment) @indent.auto

View file

@ -34,6 +34,7 @@
(parameters ")" @indent.end)
(function_call) @indent.begin
(function_call ")" @indent.end)
(method_call) @indent.begin
")" @indent.branch