org.junit.ComparisonFailure: expected:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by seth-priya
, 1 year ago
expected:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>
via GitHub by ngrigoriev
, 10 months ago
expected:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>
via Google Groups by Alex Black, 7 months ago
expected:<Pb([201) Cannot make a static reference to the non-static method getOpt1(Option<T>) from the type OptTest]> but was:<Pb([324) The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files]>
via GitHub by wildfly-ci
, 1 year ago
expected:<[1]> but was:<[0]>
org.junit.ComparisonFailure: expected:<{"type":"[Polygon]","coordinates":[[20...> but was:<{"type":"[Box]","coordinates":[[20...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.thinkaurelius.titan.graphdb.attribute.GeoshapeTest.testGeoJsonSerialization(GeoshapeTest.java:225)

Users with the same issue

Once, 2 days ago
6 times, 1 week ago
Once, 1 week ago
12 times, 2 weeks ago
2 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.