[wp-trac] [WordPress Trac] #31432: Unit tests are sensitive to line endings
WordPress Trac
noreply at wordpress.org
Mon Jul 24 13:17:55 UTC 2017
#31432: Unit tests are sensitive to line endings
------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+-----------------------------
Comment (by bobbingwide):
Having detected this line ending problem with
Tests_Dependencies_Styles::test_conditional_inline_styles_are_also_conditional,
running under Windows on a clone of git://develop.git.wordpress.org/ I ran
{{{
git config --global core.autocrlf input
}}}
checked the file out and the test worked.
But I don't know what was wrong with Sergey's fix while the jury's out on
what the ideal solution should be.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31432#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list