From 4552b01d8c8052f607dca2fcddcf7b2e270f1db6 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 28 Oct 2022 20:17:43 -0700 Subject: [PATCH] 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. --- test/src/treesit-tests.el | 3 --- 1 file changed, 3 deletions(-) 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))) -- 2.39.2