]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9001-send-email.sh
tests: make use of the test_must_be_empty function
[thirdparty/git.git] / t / t9001-send-email.sh
index 1da282c415b81215ddb149f6230ff2a5a8eb4c95..b73422449460febab9275d74449eb2b6da03257c 100755 (executable)
@@ -253,10 +253,9 @@ test_suppress_self () {
 
        mv msgtxt1 msgtxt1-$3 &&
        sed -e '/^$/q' msgtxt1-$3 >"msghdr1-$3" &&
-       >"expected-no-cc-$3" &&
 
        (grep '^Cc:' msghdr1-$3 >"actual-no-cc-$3";
-        test_cmp expected-no-cc-$3 actual-no-cc-$3)
+        test_must_be_empty actual-no-cc-$3)
 }
 
 test_suppress_self_unquoted () {