[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 459d08c7fe7: Fix tree-sitter test (bug#63481)
From: |
Yuan Fu |
Subject: |
emacs-29 459d08c7fe7: Fix tree-sitter test (bug#63481) |
Date: |
Thu, 18 May 2023 17:54:15 -0400 (EDT) |
branch: emacs-29
commit 459d08c7fe7f723b3cefe71fa50bbe4481f66995
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
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
---
test/src/treesit-tests.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@
(should
(equal (treesit-node-string
(treesit-parser-root-node parser))
- "(ERROR)"))
+ "(document)"))
(insert "[1,2,3]")
(should
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 459d08c7fe7: Fix tree-sitter test (bug#63481),
Yuan Fu <=