t4202 (log): Replace '<git-command> || :' with test_might_fail
[gitweb.git] / t / t4202-log.sh
index 2e513569477bb5efc389a2088a4d896620e50b8f..1172e4540ef5963080827643e8a95ea037cf60e1 100755 (executable)
@@ -393,7 +393,7 @@ test_expect_success 'log --graph with merge' '
 '
 
 test_expect_success 'log.decorate configuration' '
-       git config --unset-all log.decorate || :
+       test_might_fail git config --unset-all log.decorate &&
 
        git log --oneline >expect.none &&
        git log --oneline --decorate >expect.short &&