emacs/test/src
Juri Linkov ee46b6c4e6 Use the first parser from 'treesit-parser-list' to fix tests.
* lisp/treesit.el (treesit-parsers-at): Add treesit-primary-parser
only when it's non-nil.  When the result list is still empty,
add the first parser from 'treesit-parser-list'.
https://lists.gnu.org/archive/html/emacs-devel/2025-04/msg00627.html

* test/src/treesit-tests.el (treesit-node-supplemental)
(treesit-node-at, treesit-node-check)
(treesit-search-subtree-forward-1)
(treesit-search-subtree-backward-1): Wrap test body in 'with-temp-buffer'.
2025-04-17 09:49:04 +03:00
..
comp-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs-module-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lread-resources Make force-load-doc-strings work again 2022-08-07 10:25:03 +02:00
regex-resources * src/regex-emacs.c (analyze_first): Fix incorrect optimization 2023-09-27 13:29:50 -04:00
syntax-resources Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
alloc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
buffer-tests.el Prefer ert-with-temp-directory in tests 2025-02-23 03:46:57 +01:00
callint-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
callproc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
casefiddle-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
character-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
charset-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
chartab-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cmds-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
coding-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-tests.el Fix a nativecomp type propagation bug (bug#74771) 2025-03-23 17:33:27 +01:00
data-tests.el Prefer incf to cl-incf in tests 2025-02-23 00:38:22 +01:00
decompress-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
doc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
editfns-tests.el src/insdel.c (adjust_markers_for_replace): Fix insertion case 2025-03-29 17:49:49 -04:00
emacs-module-tests.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
emacs-tests.el Port allows-stdout test to overly-suspicious bwrap 2025-01-22 11:04:57 -08:00
eval-tests.el Correctly unload variable aliases. 2025-03-16 12:52:40 -04:00
fileio-tests.el Prefer ert-with-temp-directory in tests 2025-02-23 03:46:57 +01:00
filelock-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
floatfns-tests.el Prefer oddp/evenp to free-coding them in tests 2025-02-17 05:37:10 +01:00
fns-tests.el Add basic and low-level tests for hash tables 2025-03-24 00:57:47 +01:00
font-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
image-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
indent-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
inotify-tests.el Guarantee delivery of inotify special events 2025-02-26 10:39:46 +08:00
json-tests.el Respect narrowed buffers when parsing JSON (bug#77325) 2025-03-30 11:52:07 +00:00
keyboard-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
keymap-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lcms-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lread-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
marker-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
minibuf-tests.el Prefer incf to cl-incf in tests 2025-02-23 00:38:22 +01:00
print-tests.el Fix print-tests 2025-02-23 01:34:46 +01:00
process-tests.el Adapt process-tests to Android 2025-02-28 21:06:48 +08:00
regex-emacs-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
search-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sqlite-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
syntax-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
textprop-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
thread-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timefns-tests.el Use eabs in Fcurrent_time_zone 2025-01-13 01:05:42 +01:00
treesit-tests.el Use the first parser from 'treesit-parser-list' to fix tests. 2025-04-17 09:49:04 +03:00
undo-tests.el Prefer oddp/evenp to free-coding them in tests 2025-02-17 05:37:10 +01:00
xdisp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xfaces-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xml-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00