Remove test of treesit-language-at

Because now it just calls a user-supplied function rather than doing
any work by itself.

* test/src/treesit-tests.el (treesit-parser-supplemental): Remove the
test.
This commit is contained in:
Yuan Fu 2022-10-28 20:17:43 -07:00
parent f46eb3d3ca
commit 4552b01d8c
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -389,9 +389,6 @@ visible_end.)"
(setq root-node (treesit-parser-root-node
parser))
(setq doc-node (treesit-node-child root-node 0)))
;; `treesit-language-at'.
(should (equal (treesit-language-at (point))
'json))
;; `treesit-set-ranges', `treesit-get-ranges'.
(treesit-set-ranges 'json
'((1 . 2)))