projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081cc7a
)
Skip ruby-ts-syntax-propertize-symbol unless treesitter is available
author
Robert Pluim
<rpluim@gmail.com>
Fri, 10 Mar 2023 10:13:42 +0000
(11:13 +0100)
committer
Robert Pluim
<rpluim@gmail.com>
Fri, 10 Mar 2023 10:13:42 +0000
(11:13 +0100)
*
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
patch
|
blob
|
history
diff --git
a/test/lisp/progmodes/ruby-ts-mode-tests.el
b/test/lisp/progmodes/ruby-ts-mode-tests.el
index 0e258275f97228ebb270d29b89098c2481bb3bff..e0d9f1b5c504a4ad0ef9de7b0c689681a490fa2f 100644
(file)
--- 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))))