Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/LibGit2/test/online.jl
Original file line number Diff line number Diff line change
@@ -68,7 +68,8 @@ mktempdir() do dir
error("unexpected")
catch ex
@test isa(ex, LibGit2.Error.GitError)
@test ex.code == LibGit2.Error.ERROR
# Return code seems to vary, see #32186, #32219
@test ex.code (LibGit2.Error.EAUTH, LibGit2.Error.ERROR)
end
Base.shred!(cred)
end

0 comments on commit 7bdba87

Please sign in to comment.