]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove some tree-sitter tests
authorYuan Fu <casouri@gmail.com>
Mon, 14 Nov 2022 09:23:45 +0000 (01:23 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 14 Nov 2022 09:23:45 +0000 (01:23 -0800)
* test/src/treesit-tests.el (treesit-parser-supplemental): Remove
treesit-set-ranges, and treesit-get-ranges, as these functions are
removed.

test/src/treesit-tests.el

index 9447b46f4e886a6c83cf6b8f7f7bcde1b2bbecaa..9b8e3466f22a3c569e7d1a412b00f57ee33b7b28 100644 (file)
@@ -418,11 +418,7 @@ visible_end.)"
         (setq root-node (treesit-parser-root-node
                          parser))
         (setq doc-node (treesit-node-child root-node 0)))
-      ;; `treesit-set-ranges', `treesit-get-ranges'.
-      (treesit-set-ranges 'json
-                          '((1 . 2)))
-      (should (equal (treesit-get-ranges 'json)
-                     '((1 . 2)))))))
+      )))
 
 (ert-deftest treesit-node-supplemental ()
   "Supplemental node functions."