From e23f5d48be767299cd14912090d2957657cf25bd Mon Sep 17 00:00:00 2001 From: Daniel Woznicki Date: Mon, 28 Feb 2022 14:22:20 -0800 Subject: Modified Java indent rules to stop ignoring block comments because javadoc blocks were defaulting to indent 0 --- tests/indent/java_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/indent/java_spec.lua') diff --git a/tests/indent/java_spec.lua b/tests/indent/java_spec.lua index ff14f6b2b..7b2651b2a 100644 --- a/tests/indent/java_spec.lua +++ b/tests/indent/java_spec.lua @@ -22,5 +22,6 @@ 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 }) end) end) -- cgit v1.2.3-70-g09d2