projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39cf0b
)
Fix treesit test (bug#71907)
author
Yuan Fu
<casouri@gmail.com>
Wed, 3 Jul 2024 07:31:16 +0000
(
00:31
-0700)
committer
Yuan Fu
<casouri@gmail.com>
Wed, 3 Jul 2024 07:31:16 +0000
(
00:31
-0700)
* test/src/treesit-tests.el (treesit-node-check): Re-parse buffer before
checking for node outdated-ness.
test/src/treesit-tests.el
patch
|
blob
|
history
diff --git
a/test/src/treesit-tests.el
b/test/src/treesit-tests.el
index ce5dc76794ab6190b8d4f9569b537dab8a4c713c..3431ba5f4ddf6b1d2445e138418f5f902f567cfe 100644
(file)
--- a/
test/src/treesit-tests.el
+++ b/
test/src/treesit-tests.el
@@
-842,6
+842,7
@@
visible_end.)"
'missing))
(goto-char (point-max))
(insert "]")
+ (treesit-parser-root-node parser)
(should (treesit-node-check array-node 'outdated))))
;;; Defun navigation