Skip to content

Commit

Permalink
Added verbose dirs diff.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 21, 2025
1 parent a18134a commit ba85ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/Functional/CustomizerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ protected function assertDirectoriesEqual(string $dir1, string $dir2, ?callable

// If differences exist, throw assertion error.
if (!empty($diffs['only_in_dir1']) || !empty($diffs['only_in_dir2']) || !empty($diffs['different_files'])) {
$message = "Differences between directories:\n";
$message = sprintf("Differences between directories %s and %s:%s", $dir1, $dir2, PHP_EOL);

if (!empty($diffs['only_in_dir1'])) {
$message .= "Files only in dir1:\n";
Expand Down

0 comments on commit ba85ed2

Please sign in to comment.