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."
348348 (with-php-mode-test (" issue-124.php" :indent t )
349349 (search-forward " Start of heredoc" )
350350 ; ; The heredoc should be recognized as a string.
351- (dolist (syntax (c-guess-basic-syntax ))
352- ( should ( eq ( car syntax) 'string )))
351+ (should ( equal ( mapcar # 'car (c-guess-basic-syntax ))
352+ '(statement-cont )))
353353 (search-forward " function bar" )
354354 ; ; After the heredoc should *not* be recognized as a string.
355- (dolist (syntax (c-guess-basic-syntax ))
356- ( should ( not ( eq ( car syntax) 'string ) )))))
355+ (should ( equal ( mapcar # 'car (c-guess-basic-syntax ))
356+ '(topmost-intro-cont )))))
357357
358358(ert-deftest php-mode-test-issue-136 ()
359359 " Proper highlighting for variable interpolation."
You can’t perform that action at this time.
0 commit comments