diff options
Diffstat (limited to 'tests/indent/wgsl_spec.lua')
| -rw-r--r-- | tests/indent/wgsl_spec.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/indent/wgsl_spec.lua b/tests/indent/wgsl_spec.lua index e70215a7b..e1bf618f8 100644 --- a/tests/indent/wgsl_spec.lua +++ b/tests/indent/wgsl_spec.lua @@ -20,5 +20,25 @@ describe("indent WGSL:", function() run:new_line("basic.wgsl", { on_line = 52, text = "c: u32,", indent = 2 }) run:new_line("basic.wgsl", { on_line = 56, text = "c: u32,", indent = 2 }) run:new_line("basic.wgsl", { on_line = 59, text = "c: u32,", indent = 2 }) + run:new_line("type_constructor_or_function_call_expression.wgsl", { + on_line = 3, + text = "b", + indent = 4, + }) + run:new_line("type_constructor_or_function_call_expression.wgsl", { + on_line = 4, + text = "c", + indent = 4, + }) + run:new_line("type_constructor_or_function_call_expression.wgsl", { + on_line = 8, + text = "b", + indent = 4, + }) + run:new_line("type_constructor_or_function_call_expression.wgsl", { + on_line = 9, + text = "c", + indent = 4, + }) end) end) |
