LibWeb: Show layout test failure diffs in unified format (diff -u)

This commit is contained in:
Andreas Kling 2023-03-10 13:32:23 +01:00
parent 0ef07383e5
commit 1cd61723f0
Notes: sideshowbarker 2024-07-16 23:06:28 +09:00

View file

@ -26,6 +26,6 @@ for input_html_path in "${SCRIPT_DIR}"/input/*; do
echo "${input_html_file} PASSED"
else
echo "${input_html_file} FAILED"
diff "${expected_layout_dump_path}" <(echo "${output_layout_dump}")
diff -u "${expected_layout_dump_path}" <(echo "${output_layout_dump}")
fi
done