From 459d08c7fe7f723b3cefe71fa50bbe4481f66995 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Thu, 18 May 2023 14:44:26 -0700 Subject: [PATCH] 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 -- 2.39.2