From: john muhl Date: Sat, 27 Apr 2024 14:55:42 +0000 (-0500) Subject: ; Skip 'csharp-ts-mode' test if grammar is missing X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c097eb9729fad4218b04806110e832b49196960;p=emacs.git ; Skip 'csharp-ts-mode' test if grammar is missing * test/lisp/progmodes/csharp-mode-tests.el (csharp-ts-mode-test-indentation): Skip test instead of failing. (Bug#70345) (cherry picked from commit 3e68d413c1c177e03ff60ba0faf09fc4b8af8e2e) --- diff --git a/test/lisp/progmodes/csharp-mode-tests.el b/test/lisp/progmodes/csharp-mode-tests.el index 2878fa601f2..b3c57a7026b 100644 --- a/test/lisp/progmodes/csharp-mode-tests.el +++ b/test/lisp/progmodes/csharp-mode-tests.el @@ -27,6 +27,7 @@ (ert-test-erts-file (ert-resource-file "indent.erts"))) (ert-deftest csharp-ts-mode-test-indentation () + (skip-unless (treesit-ready-p 'c-sharp)) (ert-test-erts-file (ert-resource-file "indent-ts.erts"))) (provide 'csharp-mode-tests)