From: Robert Pluim Date: Fri, 10 Mar 2023 10:13:42 +0000 (+0100) Subject: Skip ruby-ts-syntax-propertize-symbol unless treesitter is available X-Git-Tag: emacs-29.0.90~205 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=679f528b953;p=emacs.git Skip ruby-ts-syntax-propertize-symbol unless treesitter is available * test/lisp/progmodes/ruby-ts-mode-tests.el (ruby-ts-syntax-propertize-symbol): Add check for treesitter. --- diff --git a/test/lisp/progmodes/ruby-ts-mode-tests.el b/test/lisp/progmodes/ruby-ts-mode-tests.el index 0e258275f97..e0d9f1b5c50 100644 --- a/test/lisp/progmodes/ruby-ts-mode-tests.el +++ b/test/lisp/progmodes/ruby-ts-mode-tests.el @@ -259,6 +259,7 @@ The whitespace before and including \"|\" on each line is removed." (should (string= (ruby-ts-add-log-current-function) "M::C#foo")))) (ert-deftest ruby-ts-syntax-propertize-symbol () + (skip-unless (treesit-ready-p 'ruby t)) (pcase-dolist (`(,str . ,expected) '((":abc" . ":abc") (":foo?" . #(":foo?" 4 5 (syntax-table (3))))