Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestJDKStringConverters::test_InetAddress is too restrictive in its expected output #13

Closed
advayDev1 opened this issue Oct 2, 2015 · 1 comment

Comments

@advayDev1
Copy link

Unit test failure using the Android/J2ObjC implementation of JRE:

2) test_InetAddress(org.joda.convert.TestJDKStringConverters)
01:31:12.470 [ERROR] [org.gradle.BuildExceptionReporter]   org.junit.ComparisonFailure: expected:
<2001:db8:85a3:[0:0]:8a2e:370:7334> but was:<2001:db8:85a3:[]:8a2e:370:7334>

Per the official Java JDK docs, the result 2001:db8:85a3::8a2e:370:7334 is also valid, and this test should accept both answers as correct.

cc @tomball @dlew - you mentioned in #7 that some tests were failing with the J2objc JRE emul; we're working through them here: j2objc-contrib/j2objc-common-libs-e2e-test#46; this particular issue seems to be an issue with the test; the others seem like genuine differences between a conforming JRE and the J2ObjC JRE.

cc @brunobowden

@advayDev1
Copy link
Author

This is against your latest released v1.8 @jodastephen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants