Assuming that a text view contains the '%' character, calling ``` assertThat(textView).hasText("any text") ``` will throw java.util.UnknownFormatConversionException if the assertion fails (expected text is not actual text). This is due to AssertionError.failureIfErrorMessageIsOverriden() calling MessageFormatter.instance().format(). The solution would be to escape '%' characters in the description to be formatted.
Assuming that a text view contains the '%' character, calling
will throw java.util.UnknownFormatConversionException if the assertion fails (expected text is not actual text).
This is due to AssertionError.failureIfErrorMessageIsOverriden() calling MessageFormatter.instance().format().
The solution would be to escape '%' characters in the description to be formatted.