Use general cl_git_fail because the error is generic

This commit is contained in:
Dirkjan Bussink 2016-03-14 12:41:41 +00:00 committed by Edward Thomson
parent 4e91020c85
commit cdde081b35

View File

@ -42,6 +42,5 @@ void test_online_badssl__old_cipher(void)
if (!g_has_ssl) if (!g_has_ssl)
cl_skip(); cl_skip();
cl_git_fail_with(GIT_ERROR, cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
} }