Skip to content

Commit 3186213

Browse files
JeffBezansonKristofferC
authored andcommitted
fix LibGit2 test: unknown repo now returns ERROR instead of EAUTH (#32219)
(cherry picked from commit 4d7e78b)
1 parent f8da8dc commit 3186213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/LibGit2/test/online.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ mktempdir() do dir
6868
error("unexpected")
6969
catch ex
7070
@test isa(ex, LibGit2.Error.GitError)
71-
@test ex.code == LibGit2.Error.EAUTH
71+
@test ex.code == LibGit2.Error.ERROR
7272
end
7373
Base.shred!(cred)
7474
end

0 commit comments

Comments
 (0)