java.lang.AssertionError: expected:<base2> but was:<secondBase>

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.

  • Java equals does not working correctly
    via Stack Overflow by Jessica Manid
    ,
  • GitHub comment 9#131175387
    via GitHub by MReinigJr
    ,
  • GitHub comment 9#131179323
    via GitHub by phax
    ,
  • GitHub comment 6196#140050141
    via GitHub by tombujok
    ,
  • GitHub comment 5128#143161256
    via GitHub by Donnerbart
    ,
    • java.lang.AssertionError: expected:<base2> but was:<secondBase> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:144) at org.csstudio.saverestore.git.GitManagerTest.testGetBaseLevels(GitManagerTest.java:302)

    Users with the same issue

    Axelo
    Axelo2 times, last one,
    jf-ast
    jf-ast1 times, last one,
    andyglick
    andyglick2 times, last one,
    jstrayer
    jstrayer2 times, last one,
    Alebey
    Alebey2 times, last one,
    94 more bugmates