[wp-trac] [WordPress Trac] #47411: Build tools, WPCS: disable line ending check

WordPress Trac noreply at wordpress.org
Tue Oct 29 14:26:53 UTC 2019


#47411: Build tools, WPCS: disable line ending check
------------------------------+-------------------------------
 Reporter:  azaozz            |       Owner:  azaozz
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  2nd-opinion       |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"46612" 46612]:
 {{{
 #!CommitTicketReference repository="" revision="46612"
 Build/Test Tools: Ignore EOL differences in tests using multiline string
 assertions.

 Unix vs. Windows EOL style mismatches can cause misleading failures in
 tests using the heredoc syntax (`<<<`) or multiline strings as the
 expected result.

 Fixes #31432. See #42594, #47411.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47411#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list