commit 782460f9bab4af35097c13c4dbab61cb263490b9 Author: Milan Bouchet-Valat Date: Tue Jul 11 10:02:32 2017 +0200 Fix libgit2 test failure with system libgit2 and OpenSSL (#22722) 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. diff --git a/test/libgit2.jl b/test/libgit2.jl index d7e32d21a9..f5104e9ec7 100644 --- a/test/libgit2.jl +++ b/test/libgit2.jl @@ -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)