Skip to content

Commit cfaee7f

Browse files
committed
Fix type-hints.php test for Emacs 29.1-rc1
1 parent d03b7ce commit cfaee7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/php-mode-test.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,8 @@ style from Drupal."
596596

597597
(ert-deftest php-mode-test-type-hints ()
598598
"Test highlighting of type hints and return types."
599-
(with-php-mode-test ("type-hints.php" :faces t)))
599+
(with-php-mode-test ("type-hints.php" :faces (cond ((version<= "29" emacs-version) ".29.faces")
600+
(t)))))
600601

601602
(ert-deftest php-mode-test-static-method-calls ()
602603
"Test highlighting of static method calls which are named the same

0 commit comments

Comments
 (0)