java.lang.AssertionError: expected:<[cat,zebra, cat,donkey, > dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>

tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Re: Viewing intermediate states for debugging
    via by Josh Wills,
  • junit testing equality of an Iterable
    via Stack Overflow by damon
    ,
  • Hive 0.12.0 IncompatibleClassChangeError
    via Stack Overflow by user2229544
    ,
  • Assertion Error - Junit testcase
    via Stack Overflow by user1305398
    ,
    • java.lang.AssertionError: expected:<[cat,zebra, cat,donkey, > dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:147)

    Users with the same issue

    Axelo
    Axelo2 times, last one,
    jf-ast
    jf-ast1 times, last one,
    odd
    odd17 times, last one,
    rocday
    rocday1 times, last one,
    andyglick
    andyglick2 times, last one,
    94 more bugmates