Skip to content

Commit

Permalink
Test “tidy PO”: add git diff upon failure
Browse files Browse the repository at this point in the history
Add more diagnostics of why the “PO files are tidy” fails by means of a
git diff.
  • Loading branch information
marc-vanderwal committed Nov 16, 2023
1 parent 909bee2 commit 6284a56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/po-files.t
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ subtest "tidy po files" => sub {
is $output, "", $makebin . ' tidy-po gives empty output';

$output = `git diff --numstat`;
is $output, "", 'all files are tidied (if not run "make tidy-po")';
is $output, "", 'all files are tidied (if not run "make tidy-po")'
or diag `git diff`;
}
};

Expand Down

0 comments on commit 6284a56

Please sign in to comment.