projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6d961a
)
; * test/src/treesit-tests.el: remove dead store (bytecomp warning)
author
Mattias Engdegård
<mattiase@acm.org>
Tue, 27 Dec 2022 10:18:02 +0000
(11:18 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Tue, 27 Dec 2022 10:18:02 +0000
(11:18 +0100)
test/src/treesit-tests.el
patch
|
blob
|
history
diff --git
a/test/src/treesit-tests.el
b/test/src/treesit-tests.el
index 3770a4d01e5e118f3ccec5ef769393003b6da91f..b0fbed4b06cc06da01ef1ed4f69e966b46b3a29e 100644
(file)
--- a/
test/src/treesit-tests.el
+++ b/
test/src/treesit-tests.el
@@
-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 ()