Skip to content

compare: say 'Files are identical.' when nothing changed - #5

Merged
TheAbider merged 1 commit into
masterfrom
compare-identical
Oct 28, 2026
Merged

TheAbider merged 1 commit into
masterfrom
compare-identical

Conversation

@TheAbider

Copy link
Copy Markdown
Owner

compare printed 'Files are identical.' only for an empty difference list, and the file section count is always listed, so it never said it. The test that checked for the line passed because pytest's folder for that test, printed in the A:/B: lines, contains the word; it now checks for the exact line. A format test that asserted the old behaviour is updated.

Testing: full suite locally, 5,642 passed, 5 skipped; the fixed test fails against master.

The 'identical' line was printed only for an empty difference list, and
the file section count is always listed, so compare never said it. The
test that checked for it passed because pytest's folder for that test,
printed in the A:/B: lines, contains the word; it now checks the line.
@TheAbider
TheAbider merged commit 090febd into master Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant