aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/wgsl_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/wgsl_spec.lua')
-rw-r--r--tests/indent/wgsl_spec.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/indent/wgsl_spec.lua b/tests/indent/wgsl_spec.lua
index 55d59acbd..e70215a7b 100644
--- a/tests/indent/wgsl_spec.lua
+++ b/tests/indent/wgsl_spec.lua
@@ -15,5 +15,10 @@ describe("indent WGSL:", function()
})
end)
- describe("new line:", function() end)
+ describe("new line:", function()
+ run:new_line("basic.wgsl", { on_line = 47, text = "c: u32,", indent = 2 })
+ 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 })
+ end)
end)