Skip to content

Commit 0324675

Browse files
author
Ju Liu
committed
Make diff include which are the files we are comparing
1 parent 4e60174 commit 0324675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function runCommandAndCompareToSnapshot {
4242
echo -e "\n \e[31mbut got:\e[0m\n"
4343
cat "$TMP/$FILE"
4444
echo -e "\n \e[31mHere is the difference:\e[0m\n"
45-
diff "$TMP/$FILE" "$SNAPSHOTS/$FILE"
45+
diff -p "$TMP/$FILE" "$SNAPSHOTS/$FILE"
4646
exit 1
4747
else
4848
echo -e " \e[92mOK\e[0m"

0 commit comments

Comments
 (0)