commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Schumacher <pascalschumac...@gmx.net>
Subject Re: [io] test failure in FileUtilsTestCase.testContentEqualsIgnoreEOL
Date Fri, 18 Nov 2016 21:56:05 GMT
Yes I'm on windows.

mvn clean test -Dtest=FileUtilsTestCase

works for me.

Before 
https://github.com/apache/commons-io/commit/2bb4bec8391aa03f0e4d3a6f9292630243044726 
git "fixed"/normalized the line-ends of the test file use, so the test 
always failed.

I guess git does not un-normalize the line endings when .gitattributes 
changes. Maybe try "git reset --hard" or even delete the local copies of 
the *.dat file and then revert to be sure the .gitattributes change is 
applied.

Am 18.11.2016 um 22:47 schrieb Gary Gregory:
> I have the latest from Git master.
>
> For short I run:
>
> mvn clean test -Dtest=FileUtilsTestCase
>
> Are you on Windows?
>
> Gary
>
>
> On Fri, Nov 18, 2016 at 1:42 PM, Pascal Schumacher <pascalschumacher@gmx.net
>> wrote:
>> Do you get this on current master?
>>
>> https://github.com/apache/commons-io/commit/2bb4bec8391aa03f
>> 0e4d3a6f9292630243044726**fixed it for me.
>>
>>
>> Am 18.11.2016 um 22:30 schrieb Gary Gregory:
>>
>>> Does anyone else see this?
>>>
>>> -------------------------------------------------------
>>>    T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.commons.io.FileUtilsTestCase
>>> Tests run: 135, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.102
>>> sec
>>> <<< FAILURE! - in org.apache.commons.io.FileUtilsTestCase
>>> testContentEqualsIgnoreEOL(org.apache.commons.io.FileUtilsTestCase)  Time
>>> elapsed: 0.027 sec  <<< FAILURE!
>>> java.lang.AssertionError
>>>           at
>>> org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgn
>>> oreEOL(FileUtilsTestCase.java:726)
>>>
>>> Gary
>>>
>>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message