From: Yuan Fu Date: Sat, 29 Oct 2022 03:17:43 +0000 (-0700) Subject: Remove test of treesit-language-at X-Git-Tag: emacs-29.0.90~1758 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4552b01d8c8052f607dca2fcddcf7b2e270f1db6;p=emacs.git 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. --- diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el index b143bdf3799..56ac51ff994 100644 --- a/test/src/treesit-tests.el +++ b/test/src/treesit-tests.el @@ -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)))