From: Theodor Thornhill Date: Thu, 28 Mar 2024 18:02:09 +0000 (+0100) Subject: Add test for previous change (bug#70023) X-Git-Tag: archive/raspbian/1%29.4+1-4+rpi1~1^2~2^2~17^2~83 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fbf6830299998a1e99b99c69cb90b637a3d26f12;p=emacs.git Add test for previous change (bug#70023) * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add test. --- 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; +} +=-=-=