File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -348,12 +348,12 @@ style from Drupal."
348
348
(with-php-mode-test (" issue-124.php" :indent t )
349
349
(search-forward " Start of heredoc" )
350
350
; ; The heredoc should be recognized as a string.
351
- (should ( equal ( mapcar # 'car (c-guess-basic-syntax ))
352
- '(statement-cont )))
351
+ (dolist (syntax (c-guess-basic-syntax ))
352
+ ( should ( eq ( car syntax) 'string )))
353
353
(search-forward " function bar" )
354
354
; ; After the heredoc should *not* be recognized as a string.
355
- (should ( equal ( mapcar # 'car (c-guess-basic-syntax ))
356
- '(topmost-intro-cont )))))
355
+ (dolist (syntax (c-guess-basic-syntax ))
356
+ ( should ( not ( eq ( car syntax) 'string ) )))))
357
357
358
358
(ert-deftest php-mode-test-issue-136 ()
359
359
" Proper highlighting for variable interpolation."
You can’t perform that action at this time.
0 commit comments