Skip to content

Commit

Permalink
Add dump c-syntactic-context in test
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Sep 17, 2022
1 parent f926139 commit c3f96b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/php-mode-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ be processed."
(lambda (offset)
(let ((current-offset (current-indentation)))
(unless (eq current-offset offset)
(warn "line: %d context: %s\n" (line-number-at-pos) (c-guess-basic-syntax))
(list :line (line-number-at-pos)
:expected offset
:actual current-offset))))))
Expand Down

0 comments on commit c3f96b7

Please sign in to comment.