This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Description
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.