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

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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 Micah Whitacre,
  • Re: Viewing intermediate states for debugging
    via by Micah Whitacre,
  • Re: Viewing intermediate states for debugging
    via by Josh Wills,
  • Re: Viewing intermediate states for debugging
    via by Josh Wills,
  • Re: Viewing intermediate states for debugging
    via by Josh Wills,
  • Re: Viewing intermediate states for debugging
    via by Micah Whitacre,
  • Re: Viewing intermediate states for debugging
    via by Micah Whitacre,
    • java.lang.AssertionError: expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[dog,dog, cat,cat]> 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