Fix treesit test (bug#71907)
* test/src/treesit-tests.el (treesit-node-check): Re-parse buffer before checking for node outdated-ness.
This commit is contained in:
parent
f39cf0beb7
commit
b085d68396
1 changed files with 1 additions and 0 deletions
|
@ -842,6 +842,7 @@ visible_end.)"
|
||||||
'missing))
|
'missing))
|
||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
(insert "]")
|
(insert "]")
|
||||||
|
(treesit-parser-root-node parser)
|
||||||
(should (treesit-node-check array-node 'outdated))))
|
(should (treesit-node-check array-node 'outdated))))
|
||||||
|
|
||||||
;;; Defun navigation
|
;;; Defun navigation
|
||||||
|
|
Loading…
Add table
Reference in a new issue