summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run b/test/run
index 42c51a43..c1e951aa 100755
--- a/test/run
+++ b/test/run
@@ -148,7 +148,7 @@ colorize() {
}
show_diff() {
- diff -u $1 $2 | while read -r line; do
+ diff -u $1 $2 | while IFS='' read -r line; do
first_character=$(echo "$line" | cut -b 1)
case $first_character in
+) color=green ;;