java.lang.AssertionError

expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>

Samebug tips1

tip

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3512

  • Stack trace

    • 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)

    Write tip

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

    Users with the same issue

    jf-astjf-ast
    2 times, last one,
    AxeloAxelo
    3 times, last one,
    oddodd
    17 times, last one,
    rocdayrocday
    1 times, last one,
    andyglickandyglick
    2 times, last one,
    95 more bugmates