Describe the bug
isEqualToNormalizingWhitespace doesn't normalise non breaking space characters
- assertj core 3.21:
- java version: 17
- Kotlin 1.9.0
- test framework version: JUnit 5.9.1
- os (if relevant):
Compare 2 strings with one having a NBSP character instead of a normal space
val result = "10,00 € to 100NBSP000,00 € per year"
val expected = "10,00 € to 100 000,00 € per year"
assertThat(result).isEqualToNormalizingWhitespace(expected)
Describe the bug
isEqualToNormalizingWhitespace doesn't normalise non breaking space characters
Compare 2 strings with one having a NBSP character instead of a normal space