]> git.eshelyaron.com Git - emacs.git/commitdiff
Add test for previous change (bug#70023)
authorTheodor Thornhill <theo@thornhill.no>
Thu, 28 Mar 2024 18:02:09 +0000 (19:02 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 30 Mar 2024 19:36:25 +0000 (20:36 +0100)
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add
test.

(cherry picked from commit fbf6830299998a1e99b99c69cb90b637a3d26f12)

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

index 7b6185e0386ca88c23f981d1db8d16fe73d7297b..bec96ad82e096ab6ac85500b6463a1c606f376bb 100644 (file)
@@ -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;
+}
+=-=-=