This exception is thrown when assert compares different primitive types.
-- Change the expected value to be long.
assertThat(1L, equalTo(1))
assertThat(1L, equalTo(1L))
-- Change the expected value to be long.
assertThat(1L, equalTo(1))
assertThat(1L, equalTo(1L))
No comments:
Post a Comment