aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
authorTheodor Thornhill2023-02-03 09:09:49 +0100
committerDmitry Gutov2023-11-21 16:26:54 +0200
commitd2776d8254fa4afc64a8828da7d30886c2d35ac2 (patch)
treee7c1ac08c7c26f0dafb32d219d67b54aff2639dd /test/lisp
parent9af03e0e1897bce2fce71b79549d4461d7ea1dad (diff)
downloademacs-d2776d8254fa4afc64a8828da7d30886c2d35ac2.tar.gz
emacs-d2776d8254fa4afc64a8828da7d30886c2d35ac2.zip
Backport: Add test for java indentation (bug#61115)
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add new test case. (cherry picked from commit 229d0772e235f51812ed8020a31f9a8de366c7ba)
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/progmodes/java-ts-mode-resources/indent.erts9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lisp/progmodes/java-ts-mode-resources/indent.erts b/test/lisp/progmodes/java-ts-mode-resources/indent.erts
index e59d5fed8e8..c8e0ac71708 100644
--- a/test/lisp/progmodes/java-ts-mode-resources/indent.erts
+++ b/test/lisp/progmodes/java-ts-mode-resources/indent.erts
@@ -42,3 +42,12 @@ if (x) {
42 return; 42 return;
43} 43}
44=-=-= 44=-=-=
45
46Name: Field declaration without access modifier (bug#61115)
47
48=-=
49public class T {
50 @Autowired
51 String a;
52}
53=-=-=