summaryrefslogtreecommitdiff
path: root/tests/online
diff options
context:
space:
mode:
authorDirkjan Bussink <d.bussink@gmail.com>2016-03-14 12:41:41 +0000
committerDirkjan Bussink <d.bussink@gmail.com>2016-03-14 12:41:41 +0000
commitc577efbbb5565d078a08eae211cfb04987199809 (patch)
treed91b32ab090bb9cbfc3b230ef951e2d3e8efa20c /tests/online
parent8f4cbc76bdf08eee15eb93c6928db714836daa87 (diff)
downloadlibgit2-c577efbbb5565d078a08eae211cfb04987199809.tar.gz
Use general cl_git_fail because the error is generic
Diffstat (limited to 'tests/online')
-rw-r--r--tests/online/badssl.c3
1 files changed, 1 insertions, 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));
}