diff*: fix worktree setup
[gitweb.git] / t / t1303-wacky-config.sh
index f366b53fb671a5ef52c34516bc4ab3869a142d8e..f98f4c51796e6f7a7181568a134e21ecd9dc2c4f 100755 (executable)
@@ -11,7 +11,7 @@ setup() {
 check() {
        echo "$2" >expected
        git config --get "$1" >actual
-       git diff actual expected
+       test_cmp actual expected
 }
 
 test_expect_success 'modify same key' '