From: Yuan Fu Date: Thu, 18 May 2023 21:44:26 +0000 (-0700) Subject: Fix tree-sitter test (bug#63481) X-Git-Tag: emacs-29.0.92~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=459d08c7fe7;p=emacs.git 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 --- 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