From cdde081b35ea89a91375b2af8e0e67247a505f1a Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Mon, 14 Mar 2016 12:41:41 +0000 Subject: [PATCH] Use general cl_git_fail because the error is generic --- tests/online/badssl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/online/badssl.c b/tests/online/badssl.c index 141f22f92..66b090df4 100644 --- a/tests/online/badssl.c +++ b/tests/online/badssl.c @@ -42,6 +42,5 @@ void test_online_badssl__old_cipher(void) if (!g_has_ssl) cl_skip(); - cl_git_fail_with(GIT_ERROR, - git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL)); + cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL)); }