diff --git a/stdlib/LibGit2/test/libgit2.jl b/stdlib/LibGit2/test/libgit2.jl index 2a74ed4908dfc..fb1bd2fa1e850 100644 --- a/stdlib/LibGit2/test/libgit2.jl +++ b/stdlib/LibGit2/test/libgit2.jl @@ -1473,7 +1473,7 @@ mktempdir() do dir @testset "Examine test repository" begin @testset "files" begin - @test read(joinpath(test_repo, test_file), String) == read(joinpath(cache_repo, test_file), String) + @test readlines(joinpath(test_repo, test_file)) == readlines(joinpath(cache_repo, test_file)) end @testset "tags & branches" begin