Commit cdde081b35ea89a91375b2af8e0e67247a505f1a

Dirkjan Bussink 2016-03-14T12:41:41

Use general cl_git_fail because the error is generic

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests/online/badssl.c b/tests/online/badssl.c
index 141f22f..66b090d 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));
 }