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

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.

  • Fix flaky OkHttp test
    via GitHub by ejona86
    ,
  • GitHub comment 22#60865852
    via GitHub by xingfengshen
    ,
  • session_management_story
    via by Unknown author,
  • GitHub comment 5053#24388203
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5056#24395972
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5035#24341976
    via GitHub by wildfly-ci
    ,
    • java.lang.AssertionError: expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.junit.Assert.assertEquals(Assert.java:542)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    osvzs
    osvzs1 times, last one,
    Unknown visitor2 times, last one,
    andyglick
    andyglick9 times, last one,
    94 more bugmates