mirror of
https://github.com/php/pftt2.git
synced 2026-03-24 01:02:11 +01:00
EXPECTF diffs are overly noisy #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cmb69 on GitHub (Oct 22, 2019).
If test output doesn't match the
--EXPECTF--section (requires PR #80), none of the placeholders are resolved, so the diffs contain even lines which do not fail by themselves. For instance, ext/datetime/tests/DateTime_createFromImmutable.phpt produces the following diff:However, only the line with the actual warning is different (as can be seen when the test is run with PR #82 applied).
Since this only makes eventual diffs somewhat harder to read, but doesn't actually affect the test results, fixing this is of lower priority.