java.lang.AssertionError: expected:<13> but was:<0>

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.

  • Assertion failure for calculating hour difference
    via by Unknown author,
  • GitHub comment 6007#134166006
    via GitHub by hasancelik
    ,
  • Tests failing on Windows
    via GitHub by freddy24
    ,
  • GitHub comment 5512#120887915
    via GitHub by sancar
    ,
    • java.lang.AssertionError: expected:<13> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.eclipse.ice.datastructures.entry.test.FileEntryTester.checkAllowedValues(FileEntryTester.java:109)

    Users with the same issue

    rocday
    rocday1 times, last one,
    musketyr
    musketyr10 times, last one,
    jokester
    jokester3 times, last one,
    Axelo
    Axelo1 times, last one,
    pulse00
    pulse003 times, last one,
    94 more bugmates