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 33003fd40..1d10046bb 100644
--- a/tests/indent/java_spec.lua
+++ b/tests/indent/java_spec.lua
@@ -33,5 +33,7 @@ describe("indent Java:", function()
run:new_line("method_chaining.java", { on_line = 4, text = '.append("b");', indent = 6 })
run:new_line("constructor_with_arguments_on_multiple_lines.java", { on_line = 4, text = "}", indent = 2 })
run:new_line("method_with_arguments_on_multiple_lines.java", { on_line = 4, text = "}", indent = 2 })
+ run:new_line("annotation.java", { on_line = 1, text = "abstract public Foo(){}", indent = 2 })
+ run:new_line("annotation_2.java", { on_line = 2, text = "Bar.class", indent = 4 })
end)
end)