java.lang.AssertionError: expected:<2> 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.

  • GitHub comment 4928#22726651
    via GitHub by wildfly-ci
    ,
  • GitHub comment 4917#22671810
    via GitHub by wildfly-ci
    ,
  • GitHub comment 4907#22553006
    via GitHub by wildfly-ci
    ,
  • GitHub comment 4806#22438797
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5037#24229265
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5142#25092787
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5262#26145491
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5262#26146369
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5265#26163151
    via GitHub by wildfly-ci
    ,
  • GitHub comment 5257#26088833
    via GitHub by wildfly-ci
    ,
    • java.lang.AssertionError: expected:<2> but was:<1> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743)

    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