Reformats the error messages of the assertion methods for Strings.