Skip to content

Commit 59d1d54

Browse files
authored
make libgit2 tests robust against line endings (#45242)
1 parent bca0e7a commit 59d1d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/LibGit2/test/libgit2.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ mktempdir() do dir
14731473

14741474
@testset "Examine test repository" begin
14751475
@testset "files" begin
1476-
@test read(joinpath(test_repo, test_file), String) == read(joinpath(cache_repo, test_file), String)
1476+
@test readlines(joinpath(test_repo, test_file)) == readlines(joinpath(cache_repo, test_file))
14771477
end
14781478

14791479
@testset "tags & branches" begin

0 commit comments

Comments
 (0)