aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorYuan Fu2023-05-18 14:44:26 -0700
committerYuan Fu2023-05-18 14:45:15 -0700
commit459d08c7fe7f723b3cefe71fa50bbe4481f66995 (patch)
tree3b347abf5359989325ab5bd6dd875587496431a1 /test/src
parent3bc5efb87e5ac9b7068e71307466b2d0220e92fb (diff)
downloademacs-459d08c7fe7f723b3cefe71fa50bbe4481f66995.tar.gz
emacs-459d08c7fe7f723b3cefe71fa50bbe4481f66995.zip
Fix tree-sitter test (bug#63481)
* test/src/treesit-tests.el (treesit-basic-parsing): Latest json parser doesn't return an error on empty buffer or multiple objects anymore [1]. https://github.com/tree-sitter/tree-sitter-json/commit/40a81c01a40ac48744e0c8ccabbaba1920441199
Diffstat (limited to 'test/src')
-rw-r--r--test/src/treesit-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/treesit-tests.el b/test/src/treesit-tests.el
index 468cd221ef9..fef603840f9 100644
--- a/test/src/treesit-tests.el
+++ b/test/src/treesit-tests.el
@@ -66,7 +66,7 @@
66 (should 66 (should
67 (equal (treesit-node-string 67 (equal (treesit-node-string
68 (treesit-parser-root-node parser)) 68 (treesit-parser-root-node parser))
69 "(ERROR)")) 69 "(document)"))
70 70
71 (insert "[1,2,3]") 71 (insert "[1,2,3]")
72 (should 72 (should