Skip to content

Commit

Permalink
Suggestions (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 authored and rickie committed Feb 9, 2024
1 parent 2c289fa commit c178c0b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions integration-tests/checkstyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,12 @@ else
# XXX: This "diff of diffs" also contains vacuous sections, introduced due to
# line offset differences. Try to omit those from the final output.
if ! diff -u "${expected_changes}" "${actual_changes}"; then
echo 'There are unexpected changes.'
echo "Inspect the preceding output or execute the following command to see the changes:"
echo "$ diff -u '${expected_changes}' '${actual_changes}'"
echo 'There are unexpected changes. Inspect the preceding output for details.'
failure=1
fi
echo 'Inspecting emitted warnings...'
if ! diff -u "${expected_warnings}" "${actual_warnings}"; then
echo 'Diagnostics output changed.'
echo "Inspect the preceding output or execute the following command to see the warnings:"
echo "$ diff -u '${expected_warnings}' '${actual_warnings}'"
echo 'Diagnostics output changed. Inspect the preceding output for details.'
failure=1
fi
fi
Expand Down

0 comments on commit c178c0b

Please sign in to comment.