Fix warning suppression in (S)CSS mode tests

* test/lisp/textmodes/css-mode-tests.el (css-mode-test-selectors)
(scss-mode-test-selectors): Fix warning suppression.
This commit is contained in:
Simen Heggestøyl 2022-05-15 16:00:27 +02:00
parent cfedc2872e
commit f171a36c0a

View file

@ -424,7 +424,7 @@
(with-temp-buffer
(insert-file-contents (ert-resource-file "css-selectors.txt"))
(string-lines (buffer-string)))))
(with-suppressed-warnings ((interactive font-lock-debug-fontif))
(with-suppressed-warnings ((interactive-only font-lock-debug-fontify))
(dolist (selector selectors)
(with-temp-buffer
(css-mode)
@ -474,7 +474,7 @@
(with-temp-buffer
(insert-file-contents (ert-resource-file "scss-selectors.txt"))
(string-lines (buffer-string)))))
(with-suppressed-warnings ((interactive font-lock-debug-fontif))
(with-suppressed-warnings ((interactive-only font-lock-debug-fontify))
(dolist (selector selectors)
(with-temp-buffer
(scss-mode)