Skip to content

Commit

Permalink
Adjust capitalization in LibGit2 test to be version agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Sep 16, 2017
1 parent f113351 commit 7c2e296
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/libgit2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ mktempdir() do dir
error("unexpected")
catch e
@test typeof(e) == LibGit2.GitError
@test startswith(sprint(show,e),"GitError(Code:ENOTFOUND, Class:OS, Failed to resolve path")
@test startswith(
lowercase(sprint(show, e)),
lowercase("GitError(Code:ENOTFOUND, Class:OS, failed to resolve path"))
end
path = joinpath(dir, "Example.BareTwo")
repo = LibGit2.init(path, true)
Expand Down

0 comments on commit 7c2e296

Please sign in to comment.