]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve one test (bug#71998)
authorTheodor Thornhill <theo@thornhill.no>
Sun, 21 Jul 2024 12:55:06 +0000 (14:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:39:03 +0000 (12:39 +0200)
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts (Name):
Add pre-indent state.

(cherry picked from commit bb0f0c04a3985649f8ef86d9c3cbe68b78bee1aa)

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

index 877382953c13a7367787339605ddbe67596df3fd..343eababf54f443f78a2e534ad794e8d7e672b2c 100644 (file)
@@ -102,6 +102,24 @@ Code:
 
 Name: JSX indentation
 
+=-=
+const foo = (props) => {
+return (
+<div>
+<div>
+<div>
+<div>
+{
+props.foo
+? Hello, foo!
+: Hello, World!;
+}
+</div>
+</div>
+</div>
+</div>
+);
+}
 =-=
 const foo = (props) => {
   return (