From 57173a9618ff5e83e566c57002845db893b90623 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Sun, 21 Jul 2024 14:55:06 +0200 Subject: [PATCH] Improve one test (bug#71998) * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts (Name): Add pre-indent state. (cherry picked from commit bb0f0c04a3985649f8ef86d9c3cbe68b78bee1aa) --- .../typescript-ts-mode-resources/indent.erts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 ( -- 2.39.2