mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
Report mismatched file better when diff fails
This commit is contained in:
1 parent
4064e4a7a9
commit
0769694839
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ startTest () {
|
||||
|
||||
tryDiff () {
|
||||
if ! diff -u --strip-trailing-cr "$1" "$2"; then
|
||||
echo "${bold}${red}${i%.asm}.out mismatch!${rescolors}${resbold}"
|
||||
echo "${bold}${red}$1 mismatch!${rescolors}${resbold}"
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user