Skip to content

Commit

Permalink
Make diff include which are the files we are comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ju Liu committed Oct 15, 2020
1 parent 4e60174 commit 0324675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function runCommandAndCompareToSnapshot {
echo -e "\n \e[31mbut got:\e[0m\n"
cat "$TMP/$FILE"
echo -e "\n \e[31mHere is the difference:\e[0m\n"
diff "$TMP/$FILE" "$SNAPSHOTS/$FILE"
diff -p "$TMP/$FILE" "$SNAPSHOTS/$FILE"
exit 1
else
echo -e " \e[92mOK\e[0m"
Expand Down

0 comments on commit 0324675

Please sign in to comment.