You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2018/01/09 19:20:52 UTC

[compress]

Any one else seeing this?

[INFO] Running
org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStreamTest
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
0.034 s <<< FAILURE! - in
org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStreamTest
[ERROR]
testZstdDecode(org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStreamTest)
Time elapsed: 0.011 s  <<< FAILURE!
org.junit.internal.ArrayComparisonFailure: arrays first differed at element
[70]; expected:<13> but was:<10>
        at
org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStreamTest.testZstdDecode(ZstdCompressorInputStreamTest.java:59)
Caused by: java.lang.AssertionError: expected:<13> but was:<10>
        at
org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStreamTest.testZstdDecode(ZstdCompressorInputStreamTest.java:59)

I am on Windows 10.

Gary

Re: [compress]

Posted by Gary Gregory <ga...@gmail.com>.
Indeed this reeks of Windows vs. Linux...

Gary

On Tue, Jan 9, 2018 at 2:23 PM, Matt Sicker <bo...@gmail.com> wrote:

> ASCII 13 is \r and 10 is \n. I bet it's a Windows line encoding related
> issue specifically.
>
> On 9 January 2018 at 13:20, Gary Gregory <ga...@gmail.com> wrote:
>
> > Any one else seeing this?
> >
> > [INFO] Running
> > org.apache.commons.compress.compressors.zstandard.
> > ZstdCompressorInputStreamTest
> > [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> > 0.034 s <<< FAILURE! - in
> > org.apache.commons.compress.compressors.zstandard.
> > ZstdCompressorInputStreamTest
> > [ERROR]
> > testZstdDecode(org.apache.commons.compress.compressors.zstandard.
> > ZstdCompressorInputStreamTest)
> > Time elapsed: 0.011 s  <<< FAILURE!
> > org.junit.internal.ArrayComparisonFailure: arrays first differed at
> > element
> > [70]; expected:<13> but was:<10>
> >         at
> > org.apache.commons.compress.compressors.zstandard.
> > ZstdCompressorInputStreamTest.testZstdDecode(
> > ZstdCompressorInputStreamTest.java:59)
> > Caused by: java.lang.AssertionError: expected:<13> but was:<10>
> >         at
> > org.apache.commons.compress.compressors.zstandard.
> > ZstdCompressorInputStreamTest.testZstdDecode(
> > ZstdCompressorInputStreamTest.java:59)
> >
> > I am on Windows 10.
> >
> > Gary
> >
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>

Re: [compress]

Posted by Matt Sicker <bo...@gmail.com>.
ASCII 13 is \r and 10 is \n. I bet it's a Windows line encoding related
issue specifically.

On 9 January 2018 at 13:20, Gary Gregory <ga...@gmail.com> wrote:

> Any one else seeing this?
>
> [INFO] Running
> org.apache.commons.compress.compressors.zstandard.
> ZstdCompressorInputStreamTest
> [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 0.034 s <<< FAILURE! - in
> org.apache.commons.compress.compressors.zstandard.
> ZstdCompressorInputStreamTest
> [ERROR]
> testZstdDecode(org.apache.commons.compress.compressors.zstandard.
> ZstdCompressorInputStreamTest)
> Time elapsed: 0.011 s  <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: arrays first differed at
> element
> [70]; expected:<13> but was:<10>
>         at
> org.apache.commons.compress.compressors.zstandard.
> ZstdCompressorInputStreamTest.testZstdDecode(
> ZstdCompressorInputStreamTest.java:59)
> Caused by: java.lang.AssertionError: expected:<13> but was:<10>
>         at
> org.apache.commons.compress.compressors.zstandard.
> ZstdCompressorInputStreamTest.testZstdDecode(
> ZstdCompressorInputStreamTest.java:59)
>
> I am on Windows 10.
>
> Gary
>



-- 
Matt Sicker <bo...@gmail.com>

Re: [compress]

Posted by Stefan Bodewig <bo...@apache.org>.
On 2018-01-09, Gary Gregory wrote:

> Any one else seeing this?

I have changed the gitattributes after you first reported it. If your
version of git honors it you can apply the attributes to your existing
working copy by pulling, removing .git/index and then running "git reset
--hard".

Stefan

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