From: john muhl <jm@pub.pink>
To: 71998@debbugs.gnu.org
Subject: bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure
Date: Mon, 08 Jul 2024 10:11:04 -0500 [thread overview]
Message-ID: <8734ojhqbb.fsf@pub.pink> (raw)
[-- Attachment #1: Type: text/plain, Size: 115 bytes --]
The newly released version 0.21.2 of the typescript grammar caused
the typescript-ts-mode tests to start failing.
[-- Attachment #2: typescript-ts-mode-tests.log --]
[-- Type: text/plain, Size: 2319 bytes --]
Running 1 tests (2024-07-07 01:57:30+0000, selector `(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))')
Test typescript-ts-mode-test-indentation backtrace:
signal(ert-test-failed (("Mismatch in test \"JSX indentation\", file
ert-fail(("Mismatch in test \"JSX indentation\", file /home/build/em
ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s
ert-test-erts-file("/home/build/emacs/src/test/lisp/progmodes/typesc
#f(compiled-function () #<bytecode 0x2f58574ddba7032>)()
#f(compiled-function () #<bytecode -0x1c279e14ef7e9eb>)()
handler-bind-1(#f(compiled-function () #<bytecode -0x1c279e14ef7e9eb
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name typescript-ts-mode-test-indentation :
ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n
ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (
ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
command-line()
normal-top-level()
Test typescript-ts-mode-test-indentation condition:
(ert-test-failed
("Mismatch in test \"JSX indentation\", file /home/build/emacs/src/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts"
#("const foo = (props) => {\n return (\n <div>\n <div>\n <div>\n <div>\n {\n props.foo\n ? Hello, foo!\n : Hello, World!;\n }\n </div>\n </div>\n </div>\n </div>\n );\n}\n"
40 41 (syntax-table (15)) 193 194 (syntax-table (15)))
"const foo = (props) => {\n return (\n <div>\n <div>\n <div>\n <div>\n {\n props.foo\n ? Hello, foo!\n : Hello, World!;\n }\n </div>\n </div>\n </div>\n </div>\n );\n}\n"))
FAILED 1/1 typescript-ts-mode-test-indentation (0.097677 sec) at lisp/progmodes/typescript-ts-mode-tests.el:26
Ran 1 tests, 0 results as expected, 1 unexpected (2024-07-07 01:57:30+0000, 0.170821 sec)
1 unexpected results:
FAILED typescript-ts-mode-test-indentation
next reply other threads:[~2024-07-08 15:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 15:11 john muhl [this message]
2024-07-08 15:18 ` bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure Stefan Kangas
2024-07-16 23:59 ` john muhl
2024-07-20 8:52 ` Eli Zaretskii
2024-07-20 10:01 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-20 10:25 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-21 12:58 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-21 18:20 ` john muhl
2024-07-21 18:34 ` Eli Zaretskii
2024-07-21 22:23 ` john muhl
2024-07-22 0:04 ` Yuan Fu
2024-09-20 17:03 ` Mattias Engdegård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8734ojhqbb.fsf@pub.pink \
--to=jm@pub.pink \
--cc=71998@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).