org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>

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 Spring JIRA by Andy Wilkinson, 1 year ago
expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>
via Spring JIRA by Andy Wilkinson, 1 year ago
expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>
via GitHub by wildfly-ci
, 1 year ago
expected:<[1]> but was:<[0]>
via GitHub by wildfly-ci
, 1 year ago
expected:<[2]> but was:<[1]>
org.junit.ComparisonFailure: expected:</[parentWithSiblings/]child1/grandChild11> but was:</[]child1/grandChild11>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)

Users with the same issue

2 times, 2 months ago
82 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Once, 3 weeks ago
287 more bugmates

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