From: Theodor Thornhill Date: Sun, 21 Jul 2024 12:55:06 +0000 (+0200) Subject: Improve one test (bug#71998) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57173a9618ff5e83e566c57002845db893b90623;p=emacs.git Improve one test (bug#71998) * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts (Name): Add pre-indent state. (cherry picked from commit bb0f0c04a3985649f8ef86d9c3cbe68b78bee1aa) --- diff --git a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts index 877382953c1..343eababf54 100644 --- a/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts +++ b/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts @@ -102,6 +102,24 @@ Code: Name: JSX indentation +=-= +const foo = (props) => { +return ( +
+
+
+
+{ +props.foo +? Hello, foo! +: Hello, World!; +} +
+
+
+
+); +} =-= const foo = (props) => { return (