Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Fix libgit2 test failure with system libgit2 and OpenSSL (JuliaLang#2…
Browse files Browse the repository at this point in the history
…2722)

The first letter of the error message is in lowercase in some systems,
notably Fedora Rawhide with libgit2 0.26 and OpenSSL 1.1.0f.
  • Loading branch information
nalimilan authored and tkelman committed Jul 11, 2017
1 parent d726c87 commit 782460f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/libgit2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,8 @@ mktempdir() do dir
deserialize(f)
end
@test err.code == LibGit2.Error.ECERTIFICATE
@test startswith(err.msg, "The SSL certificate is invalid")
@test startswith(lowercase(err.msg),
lowercase("The SSL certificate is invalid"))

rm(errfile)

Expand Down

0 comments on commit 782460f

Please sign in to comment.