emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 679f528b953: Skip ruby-ts-syntax-propertize-symbol unless trees


From: Robert Pluim
Subject: emacs-29 679f528b953: Skip ruby-ts-syntax-propertize-symbol unless treesitter is available
Date: Fri, 10 Mar 2023 05:20:01 -0500 (EST)

branch: emacs-29
commit 679f528b953abaa9195381d51ecd7d66256ac294
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>

    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.
---
 test/lisp/progmodes/ruby-ts-mode-tests.el | 1 +
 1 file changed, 1 insertion(+)

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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]