Assertion failure is confusing when asserting a string matches a format #6026
Labels
feature/assertion
Issues related to assertions and expectations
feature/phpt
End-to-end tests in PHPT format
type/enhancement
A new idea that should be implemented
When asserting a string matches a format fails, the failure produces a string diff between the string and the expected format. This is quite confusing because this diff will report differences for each placeholder in the expected format, even when the corresponding content in the string matched that placeholder (and the issue was elsewhere)
The text was updated successfully, but these errors were encountered: