projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca5de1
)
Fix treesit-tests
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 10 Jun 2024 18:22:47 +0000
(21:22 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 10 Jun 2024 18:22:47 +0000
(21:22 +0300)
* test/src/treesit-tests.el (treesit-node-api): Adapt the test to
changes in 'treesit_check_node'. (Bug#71012)
test/src/treesit-tests.el
patch
|
blob
|
history
diff --git
a/test/src/treesit-tests.el
b/test/src/treesit-tests.el
index 5d0c92ae8a6a52f4b15c8673296e938848802f3e..ce5dc76794ab6190b8d4f9569b537dab8a4c713c 100644
(file)
--- a/
test/src/treesit-tests.el
+++ b/
test/src/treesit-tests.el
@@
-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