[wp-trac] [WordPress Trac] #31432: Unit tests are sensitive to line endings
WordPress Trac
noreply at wordpress.org
Tue Oct 29 14:26:53 UTC 2019
#31432: Unit tests are sensitive to line endings
------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
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/31432#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list