summaryrefslogtreecommitdiff
path: root/tests/indent/java
diff options
context:
space:
mode:
authorDaniel Woznicki <danwoz@nettoolkit.com>2022-02-24 19:21:09 -0800
committerStephan Seitz <stephan.seitz@fau.de>2022-02-25 08:03:43 +0100
commit18c558fd92b5ec800f976c447452ede4e96e9de9 (patch)
tree4501fedd0397c3c767227507836eeba50ff73abe /tests/indent/java
parent1b47af43ce9f664ba3fef0b6552584c375cda8e4 (diff)
Fixed a bug where indentation was not correct for class/enum bodies that had an annotation
Diffstat (limited to 'tests/indent/java')
-rw-r--r--tests/indent/java/class_with_annotation.java3
-rw-r--r--tests/indent/java/enum_with_annotation.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/java/class_with_annotation.java b/tests/indent/java/class_with_annotation.java
new file mode 100644
index 00000000..19d62f97
--- /dev/null
+++ b/tests/indent/java/class_with_annotation.java
@@ -0,0 +1,3 @@
+@Nothing
+public class Testo {
+}
diff --git a/tests/indent/java/enum_with_annotation.java b/tests/indent/java/enum_with_annotation.java
new file mode 100644
index 00000000..52edd761
--- /dev/null
+++ b/tests/indent/java/enum_with_annotation.java
@@ -0,0 +1,3 @@
+@Nothing
+public enum Testo {
+}