summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodor Thornhill <theo@thornhill.no>2024-03-28 19:02:09 +0100
committerTheodor Thornhill <theo@thornhill.no>2024-03-28 19:03:02 +0100
commitfbf6830299998a1e99b99c69cb90b637a3d26f12 (patch)
treeede3494efceb6e5fc1d86f5aea32b8dfb683cbe0
parentbcf6dd6e266222a293e359430afdf3a2dc18369c (diff)
downloademacs-fbf6830299998a1e99b99c69cb90b637a3d26f12.tar.gz
Add test for previous change (bug#70023)
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add test.
-rw-r--r--test/lisp/progmodes/typescript-ts-mode-resources/indent.erts14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
index 7b6185e0386..bec96ad82e0 100644
--- a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
+++ b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
@@ -110,3 +110,17 @@ const foo = (props) => {
);
}
=-=-=
+
+Name: Interface body fields are indented
+
+=-=
+interface Foo {
+foo: string;
+bar?: boolean;
+}
+=-=
+interface Foo {
+ foo: string;
+ bar?: boolean;
+}
+=-=-=