org.junit.ComparisonFailure: expected:<[abc]> but was:<[def]>

GitHub | swankjesse | 3 months ago
  1. 0

    CallTest.legalToExecuteTwiceCloning_Async is flaky

    GitHub | 3 months ago | swankjesse
    org.junit.ComparisonFailure: expected:<[abc]> but was:<[def]>
  2. 0

    AlertingTest failing in json comparison

    GitHub | 2 years ago | sammefford
    org.junit.ComparisonFailure: expected:<...ule-metadata":null}}[]> but was:<...ule-metadata":null}}[ ]>
  3. 0

    Running the tests, deploying to an internal maven, & updating versions

    GitHub | 2 years ago | jtruelove
    org.junit.ComparisonFailure: expected:<[error]> but was:<[ok]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cookies tests are flaky

    GitHub | 2 years ago | seato
    org.junit.ComparisonFailure: expected:<[GM]20527.group.on> but was:<[gm]20527.group.on>
  6. 0

    ComparisonFailure reports all failures as "expected: null<null> but was: null<null>"

    GitHub | 2 years ago | dsaff
    org.junit.ComparisonFailure: expected: null<null> but was: null<null>

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.junit.ComparisonFailure

      expected:<[abc]> but was:<[def]>

      at org.junit.Assert.assertEquals()
    2. JUnit
      Assert.assertEquals
      1. org.junit.Assert.assertEquals(Assert.java:115)
      2. org.junit.Assert.assertEquals(Assert.java:144)
      2 frames
    3. okhttp3
      CallTest.legalToExecuteTwiceCloning_Async
      1. okhttp3.RecordedResponse.assertBody(RecordedResponse.java:90)
      2. okhttp3.CallTest.legalToExecuteTwiceCloning_Async(CallTest.java:608)
      2 frames