Skip to content

Commit

Permalink
make libgit2 tests robust against line endings (#45242)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored May 10, 2022
1 parent bca0e7a commit 59d1d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LibGit2/test/libgit2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59d1d54

Please sign in to comment.