From 18c558fd92b5ec800f976c447452ede4e96e9de9 Mon Sep 17 00:00:00 2001 From: Daniel Woznicki Date: Thu, 24 Feb 2022 19:21:09 -0800 Subject: Fixed a bug where indentation was not correct for class/enum bodies that had an annotation --- tests/indent/java/class_with_annotation.java | 3 +++ tests/indent/java/enum_with_annotation.java | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 tests/indent/java/class_with_annotation.java create mode 100644 tests/indent/java/enum_with_annotation.java (limited to 'tests/indent/java') diff --git a/tests/indent/java/class_with_annotation.java b/tests/indent/java/class_with_annotation.java new file mode 100644 index 000000000..19d62f97a --- /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 000000000..52edd7612 --- /dev/null +++ b/tests/indent/java/enum_with_annotation.java @@ -0,0 +1,3 @@ +@Nothing +public enum Testo { +} -- cgit v1.2.3-70-g09d2