It is not the best way to use A==B to compare strings. Although most of the time A==B can successfully check whether two strings are equivalent, sometimes something weird may happen when using A==B. The method A.equals(B) is a better choice.
I have something similar to this but I was wondering if == is adequate for string comparison.
I am getting something very similar: expected:<found the needle at [position ]3> but was:<found the needle at []3>
Loading collection data...
It is not the best way to use A==B to compare strings. Although most of the time A==B can successfully check whether two strings are equivalent, sometimes something weird may happen when using A==B. The method A.equals(B) is a better choice.
I have something similar to this but I was wondering if == is adequate for string comparison.
I am getting something very similar:
expected:<found the needle at [position ]3>
but was:<found the needle at []3>