From 59d1d54d1cfdcc1ef2057baa97aeea62c8bc027f Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Tue, 10 May 2022 07:58:02 +0200 Subject: [PATCH] make libgit2 tests robust against line endings (#45242) --- stdlib/LibGit2/test/libgit2.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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