about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2017-02-20 13:24:55 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2017-02-20 13:26:50 -0800
commit79005f1b794d9d9a5de7fb22a6f5ca4f2c730382 (patch)
treeec5ea1dfecc30810226e292fb9831d5b2aee074f /Test
parent74fe4d0950d5db0bba9d8ec182c4a827728cff60 (diff)
downloadzsh-79005f1b794d9d9a5de7fb22a6f5ca4f2c730382.tar.gz
zsh-79005f1b794d9d9a5de7fb22a6f5ca4f2c730382.tar.xz
zsh-79005f1b794d9d9a5de7fb22a6f5ca4f2c730382.zip
use "diff -a" in case special characters were written to the test output
Diffstat (limited to 'Test')
-rwxr-xr-xTest/ztst.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index f172ae143..0b2679927 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -334,7 +334,7 @@ ZTST_diff() {
       diff_ret=1
     fi
   else
-    diff_out=$(diff "$@")
+    diff_out=$(diff -a "$@")
     diff_ret="$?"
     if [[ "$diff_ret" != "0" ]]; then
       print -r -- "$diff_out"