org.junit.ComparisonFailure: *Expected* :str ing *Actual* :string

Google Groups | Unknown author | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java rule for assertEquals parameter order

    Google Groups | 3 months ago | Unknown author
    org.junit.ComparisonFailure: *Expected* :str ing *Actual* :string
  2. 0

    GitHub comment 6148#40030874

    GitHub | 3 years ago | wildfly-ci
    org.junit.ComparisonFailure: expected:<[2]> but was:<[1]>
  3. 0

    GitHub comment 6831#59664245

    GitHub | 2 years ago | wildfly-ci
    org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 6837#59672926

    GitHub | 2 years ago | wildfly-ci
    org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>

  1. rsprangemeijer 5 times, last 1 week ago
  2. jf-ast 2 times, last 2 weeks ago
  3. MoYapro 2 times, last 3 months ago
  4. richard77 2 times, last 3 months ago
  5. treefolk 2 times, last 3 months ago
4 more registered users
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* :str ing *Actual* :string

    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. finagle-core
    AssertTest.testAsserts
    1. com.AssertTest.testAsserts(AssertTest.java:12)
    1 frame