aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/java_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/java_spec.lua')
-rw-r--r--tests/indent/java_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/indent/java_spec.lua b/tests/indent/java_spec.lua
index c0025dc88..8506992fb 100644
--- a/tests/indent/java_spec.lua
+++ b/tests/indent/java_spec.lua
@@ -19,5 +19,7 @@ describe("indent Java:", function()
run:new_line("method.java", { on_line = 1, text = "void foo() {}", indent = 2 })
run:new_line("issue_2571.java", { on_line = 5, text = "void bar() {}", indent = 2 })
run:new_line("enum.java", { on_line = 2, text = "THING_B,", indent = 2 })
+ 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 })
end)
end)