]> git.eshelyaron.com Git - emacs.git/commitdiff
Backport: Add test for java indentation (bug#61115)
authorTheodor Thornhill <theo@thornhill.no>
Fri, 3 Feb 2023 08:09:49 +0000 (09:09 +0100)
committerDmitry Gutov <dmitry@gutov.dev>
Tue, 21 Nov 2023 14:26:54 +0000 (16:26 +0200)
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add new test
case.

(cherry picked from commit 229d0772e235f51812ed8020a31f9a8de366c7ba)

test/lisp/progmodes/java-ts-mode-resources/indent.erts

index e59d5fed8e8180f67709cad89121df7cf1a66c6f..c8e0ac7170840146a0b7f2d8f0ad5d1214fa9937 100644 (file)
@@ -42,3 +42,12 @@ if (x) {
   return;
 }
 =-=-=
+
+Name: Field declaration without access modifier (bug#61115)
+
+=-=
+public class T {
+  @Autowired
+  String a;
+}
+=-=-=