Skip ruby-ts-imenu-index test if needed
* test/lisp/progmodes/ruby-ts-mode-tests.el (ruby-ts-imenu-index): Add check for treesitter.
This commit is contained in:
parent
9133446db8
commit
ba3ade58f3
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ The whitespace before and including \"|\" on each line is removed."
|
|||
(expand-file-name (format "ruby-mode-resources/%s" ,file))))))
|
||||
|
||||
(ert-deftest ruby-ts-imenu-index ()
|
||||
(skip-unless (treesit-ready-p 'ruby t))
|
||||
(ruby-ts-with-temp-buffer
|
||||
(ruby-ts-test-string
|
||||
"module Foo
|
||||
|
|
Loading…
Add table
Reference in a new issue