Skip to content

Commit

Permalink
fix LibGit2 test: unknown repo now returns ERROR instead of EAUTH (#3…
Browse files Browse the repository at this point in the history
…2219)

(cherry picked from commit 4d7e78b)
  • Loading branch information
JeffBezanson authored and KristofferC committed Aug 26, 2019
1 parent c1cfdcb commit 06a7801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LibGit2/test/online.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mktempdir() do dir
error("unexpected")
catch ex
@test isa(ex, LibGit2.Error.GitError)
@test ex.code == LibGit2.Error.EAUTH
@test ex.code == LibGit2.Error.ERROR
end
Base.shred!(cred)
end
Expand Down

0 comments on commit 06a7801

Please sign in to comment.