From 3d6f2637a2ffb76e4fd1fdf6fff9feecc6d45199 Mon Sep 17 00:00:00 2001 From: Daniel Woznicki Date: Mon, 28 Feb 2022 16:31:11 -0800 Subject: Made block comment indent @auto so that new lines line up nicely with existing comment block Previous indentation: /** * */ New indentation: /** * */ --- tests/indent/java_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/indent/java_spec.lua') diff --git a/tests/indent/java_spec.lua b/tests/indent/java_spec.lua index 50157fa5e..49d2593fb 100644 --- a/tests/indent/java_spec.lua +++ b/tests/indent/java_spec.lua @@ -22,7 +22,7 @@ describe("indent Java:", function() run:new_line("class_with_annotation.java", { on_line = 2, text = "void foo() {}", indent = 2 }) run:new_line("enum_with_annotation.java", { on_line = 2, text = "THING;", indent = 2 }) run:new_line("interface.java", { on_line = 1, text = "void foo();", indent = 2 }) - run:new_line("javadoc.java", { on_line = 2, text = "* Sample javadoc line", indent = 2 }) + run:new_line("javadoc.java", { on_line = 2, text = "* Sample javadoc line", indent = 3 }) --TODO: Fix indentation when adding line *before* the ERROR line. run:new_line("issue_2583.java", { on_line = 4, text = "int x = 1;", indent = 4 }) end) -- cgit v1.2.3-70-g09d2