1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Fix treesit-tests

* test/src/treesit-tests.el (treesit-node-api): Adapt the test to
changes in 'treesit_check_node'.  (Bug#71012)
This commit is contained in:
Eli Zaretskii 2024-06-10 21:22:47 +03:00
parent aca5de19b8
commit ffd2c492a0

View File

@ -183,7 +183,8 @@
parser))
(should (equal t (treesit-node-check root-node 'live)))
(kill-buffer)
(should (equal nil (treesit-node-check root-node 'live))))))
(should-error (treesit-node-check root-node 'live)
:type 'treesit-node-buffer-killed))))
;;; Indirect buffer