We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd3bd23 commit b3a0445Copy full SHA for b3a0445
tests/php-mode-test.el
@@ -348,12 +348,12 @@ style from Drupal."
348
(with-php-mode-test ("issue-124.php" :indent t)
349
(search-forward "Start of heredoc")
350
;; The heredoc should be recognized as a string.
351
- (should (equal (mapcar #'car (c-guess-basic-syntax))
352
- '(statement-cont)))
+ (dolist (syntax (c-guess-basic-syntax))
+ (should (eq (car syntax) 'string)))
353
(search-forward "function bar")
354
;; After the heredoc should *not* be recognized as a string.
355
356
- '(topmost-intro-cont)))))
+ (should (not (eq (car syntax) 'string))))))
357
358
(ert-deftest php-mode-test-issue-136 ()
359
"Proper highlighting for variable interpolation."
0 commit comments