From: Theodor Thornhill Date: Thu, 28 Mar 2024 18:02:09 +0000 (+0100) Subject: Add test for previous change (bug#70023) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c10a531ea0fd32fd6da6d061481933561475d90b;p=emacs.git Add test for previous change (bug#70023) * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add test. (cherry picked from commit fbf6830299998a1e99b99c69cb90b637a3d26f12) --- 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; +} +=-=-=