From 68d5c8e2cada35e795370335aa58acd39194a309 Mon Sep 17 00:00:00 2001 From: tijsmallaerts Date: Sat, 18 May 2019 08:23:44 +0200 Subject: [PATCH] Fix #524: Change test for issue 443 to handle changed comment delimiter in emacs 27 --- php-mode-test.el | 3 +- tests/issue-443.php.27.faces | 79 ++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 tests/issue-443.php.27.faces diff --git a/php-mode-test.el b/php-mode-test.el index c407fda3..edb87087 100644 --- a/php-mode-test.el +++ b/php-mode-test.el @@ -930,7 +930,8 @@ style from Drupal." (ert-deftest php-mode-test-issue-443 () "This case allows you to color things that are not authentic PHP tags (ex. `" . php-php-tag) + ("\n") + ("/** GitHub Issue: " . font-lock-doc-face) + ("https://github.com/emacs-php/php-mode/issues/443" link font-lock-doc-face) + (" */" . font-lock-doc-face) + ("\n") + ("" . php-php-tag) + ("\n") + ("" . php-php-tag) + ("\n") + ("" . php-php-tag) + ("\n") + ("<%" . php-php-tag) + (" ") + ("echo" . php-keyword) + (" ") + ("\"obsolete ASP tags\"" . php-string) + (" ") + ("%>" . php-php-tag) + ("\n") + ("" . php-php-tag) + ("\n") + ("" . php-php-tag) + ("\n") + ("" . php-php-tag) + ("\n") + ("" . php-php-tag) + ("\n"))