Skip to content

Commit 27dc26f

Browse files
committed
fix test for \r\n line endings
1 parent 9d51d0d commit 27dc26f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/query.jl

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

0 commit comments

Comments
 (0)