Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c577efb

Browse files
committed
Use general cl_git_fail because the error is generic
1 parent 8f4cbc7 commit c577efb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/online/badssl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,5 @@ void test_online_badssl__old_cipher(void)
4242
if (!g_has_ssl)
4343
cl_skip();
4444

45-
cl_git_fail_with(GIT_ERROR,
46-
git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
45+
cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
4746
}

0 commit comments

Comments
 (0)