Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rewatch/tests/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fi

# see if the snapshots have changed
changed_snapshots=$(git ls-files --modified ../tests/snapshots)
if git diff --exit-code ../tests/snapshots &> /dev/null;
if git diff --exit-code --ignore-all-space ../tests/snapshots &> /dev/null;
then
success "Snapshots are correct"
else
Expand All @@ -160,7 +160,7 @@ else
for file in $changed_snapshots; do
bold $file
# show diff of file vs contents in git
git diff $file $file
git diff --ignore-all-space $file $file
printf "\n\n"
done

Expand Down