Skip to content

Commit 41c90ed

Browse files
committed
make it pass for all line endings
1 parent 27dc26f commit 41c90ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/query.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ end
316316
open(q) do io
317317
@test position(io) == 0
318318
@test FileIO.detect_rdata(io)
319-
# This will only be the case for /r/n line endings, which the sample file has
320-
@test position(io) == 6
319+
# 6 for /r/n and 5 for /n
320+
@test (position(io) in (5, 6))
321321
end
322322
end
323323
@testset "Format with function for magic bytes" begin

0 commit comments

Comments
 (0)