I am working on spring 5.0.7 project where I have some testcases which are getting fails which was working fine with previous version of spring.
when I am executing following statement
assertEquals("My message",401, equalTo(401));
getting following error message
There is additional <> comes in result. Can anyone has idea how can I fix it?
For more details earlier I was using assertThat()
assertThat(401, equalTo(401));
and this was working fine.