diff options
| author | Theodor Thornhill | 2024-03-28 19:02:09 +0100 |
|---|---|---|
| committer | Theodor Thornhill | 2024-03-28 19:03:02 +0100 |
| commit | fbf6830299998a1e99b99c69cb90b637a3d26f12 (patch) | |
| tree | ede3494efceb6e5fc1d86f5aea32b8dfb683cbe0 /test | |
| parent | bcf6dd6e266222a293e359430afdf3a2dc18369c (diff) | |
| download | emacs-fbf6830299998a1e99b99c69cb90b637a3d26f12.tar.gz emacs-fbf6830299998a1e99b99c69cb90b637a3d26f12.zip | |
Add test for previous change (bug#70023)
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add
test.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/progmodes/typescript-ts-mode-resources/indent.erts | 14 |
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) => { | |||
| 110 | ); | 110 | ); |
| 111 | } | 111 | } |
| 112 | =-=-= | 112 | =-=-= |
| 113 | |||
| 114 | Name: Interface body fields are indented | ||
| 115 | |||
| 116 | =-= | ||
| 117 | interface Foo { | ||
| 118 | foo: string; | ||
| 119 | bar?: boolean; | ||
| 120 | } | ||
| 121 | =-= | ||
| 122 | interface Foo { | ||
| 123 | foo: string; | ||
| 124 | bar?: boolean; | ||
| 125 | } | ||
| 126 | =-=-= | ||