test-lib: parse options in a for loop to keep $@ intact
[gitweb.git] / t / t7800-difftool.sh
index f29aa8f344f1a6ff8a953b20efb7b6b0486d4d81..22b9199d599284e9fcf5d7451b98db7ee99fffbe 100755 (executable)
@@ -557,7 +557,7 @@ test_expect_success SYMLINKS 'difftool --dir-diff --symlink without unstaged cha
        EOF
        git difftool --dir-diff --symlink \
                --extcmd "./.git/CHECK_SYMLINKS" branch HEAD &&
-       test_cmp actual expect
+       test_cmp expect actual
 '
 
 write_script modify-right-file <<\EOF