http: add support for disabling SSL revocation checks in cURL
[gitweb.git] / t / t4015-diff-whitespace.sh
index 35fc8b5c2aa559a40000588f9a1e2b86215cb6ef..a9fb226c5ad566095163c5141a4ca591f2aeacb1 100755 (executable)
@@ -776,8 +776,6 @@ test_expect_success 'checkdiff allows new blank lines' '
        git diff --check
 '
 
-cat <<EOF >expect
-EOF
 test_expect_success 'whitespace-only changes not reported' '
        git reset --hard &&
        echo >x "hello world" &&
@@ -785,7 +783,7 @@ test_expect_success 'whitespace-only changes not reported' '
        git commit -m "hello 1" &&
        echo >x "hello  world" &&
        git diff -b >actual &&
-       test_cmp expect actual
+       test_must_be_empty actual
 '
 
 cat <<EOF >expect