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:
Yuan Fu 2024-07-03 00:31:16 -07:00
parent f39cf0beb7
commit b085d68396
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -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