; * test/src/treesit-tests.el: remove dead store (bytecomp warning)

This commit is contained in:
Mattias Engdegård 2022-12-27 11:18:02 +01:00
parent a6d961ae2f
commit 2347f37f67

View file

@ -252,9 +252,7 @@ BODY is the test body."
(setq parser (treesit-parser-create 'json))
(setq root (treesit-parser-root-node
parser))
(setq array (treesit-node-child root 0))
;; First bracket.
(setq cursor (treesit-node-child array 0)))
(setq array (treesit-node-child root 0)))
,@body)))
(ert-deftest treesit-search-forward ()