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.
This commit is contained in:
parent
081cc7aa8e
commit
679f528b95
1 changed files with 1 additions and 0 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Reference in a new issue