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