Skip to content

Commit

Permalink
make it pass for all line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Jul 3, 2017
1 parent 27dc26f commit 41c90ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/query.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ end
open(q) do io
@test position(io) == 0
@test FileIO.detect_rdata(io)
# This will only be the case for /r/n line endings, which the sample file has
@test position(io) == 6
# 6 for /r/n and 5 for /n
@test (position(io) in (5, 6))
end
end
@testset "Format with function for magic bytes" begin
Expand Down

0 comments on commit 41c90ed

Please sign in to comment.