From b67d706f6553cf572fa1aa547ba8586c4eee4b04 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Mon, 19 Apr 2021 15:05:35 -0400 Subject: [PATCH] Revert "LibGit2: branch missing test in last_error (#39033)" (#40530) This reverts commit a4fc56a57cf04b5aa460e271761d12294598a2fe. --- stdlib/LibGit2/test/libgit2.jl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stdlib/LibGit2/test/libgit2.jl b/stdlib/LibGit2/test/libgit2.jl index c987438aace86..892fb8bb6f3fe 100644 --- a/stdlib/LibGit2/test/libgit2.jl +++ b/stdlib/LibGit2/test/libgit2.jl @@ -171,12 +171,6 @@ end @test findfirst(isequal(LibGit2.Consts.FEATURE_HTTPS), f) !== nothing end -@testset "No error at first" begin - class, msg = LibGit2.Error.last_error() - @test msg == "No errors" - @test class == LibGit2.Error.Class(0) -end - @testset "OID" begin z = LibGit2.GitHash() @test LibGit2.iszero(z)