emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bb0f0c04a39 4/5: Improve one test (bug#71998)


From: Theodor Thornhill
Subject: master bb0f0c04a39 4/5: Improve one test (bug#71998)
Date: Sun, 21 Jul 2024 08:59:12 -0400 (EDT)

branch: master
commit bb0f0c04a3985649f8ef86d9c3cbe68b78bee1aa
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>

    Improve one test (bug#71998)
    
    * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts (Name):
    Add pre-indent state.
---
 .../progmodes/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 (
+<div>
+<div>
+<div>
+<div>
+{
+props.foo
+? Hello, foo!
+: Hello, World!;
+}
+</div>
+</div>
+</div>
+</div>
+);
+}
 =-=
 const foo = (props) => {
   return (



reply via email to

[Prev in Thread] Current Thread [Next in Thread]