summaryrefslogtreecommitdiff
path: root/tests/indent/rust_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/rust_spec.lua')
-rw-r--r--tests/indent/rust_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indent/rust_spec.lua b/tests/indent/rust_spec.lua
index ad56ae2b..dda49568 100644
--- a/tests/indent/rust_spec.lua
+++ b/tests/indent/rust_spec.lua
@@ -16,6 +16,7 @@ describe("indent Rust:", function()
run:new_line("array.rs", { on_line = 2, text = "0,", indent = 4 })
run:new_line("array.rs", { on_line = 8, text = "0,", indent = 8 })
run:new_line("comment.rs", { on_line = 3, text = "a", indent = "/// " })
+ run:new_line("comment.rs", { on_line = 10, text = "a", indent = " /// " })
run:new_line("cond.rs", { on_line = 11, text = "x += 1;", indent = 12 })
run:new_line("cond.rs", { on_line = 2, text = "x += 1;", indent = 8 })
run:new_line("cond.rs", { on_line = 4, text = "x += 1;", indent = 8 })