Fix typescript-ts-mode indentation tests (bug#71998)

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
(JSX indentation): Add quote and remove semi-colon, so the code
is valid.
This commit is contained in:
Yuan Fu 2025-02-23 22:04:32 -08:00
parent 02fbdbf4ff
commit 3d46f3e3ed
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -111,8 +111,8 @@ return (
<div>
{
props.foo
? Hello, foo!
: Hello, World!;
? 'Hello, foo!'
: 'Hello, World!'
}
</div>
</div>
@ -129,8 +129,8 @@ const foo = (props) => {
<div>
{
props.foo
? Hello, foo!
: Hello, World!;
? 'Hello, foo!'
: 'Hello, World!'
}
</div>
</div>