Skip to content

Commit

Permalink
remove sort in seekstart test
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 authored May 30, 2024
1 parent 36fe7ed commit e9806d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/TestExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function TranscodingStreams.test_roundtrip_seekstart(encoder, decoder)
data = rand(alpha, n)
file = IOBuffer(data)
stream = decoder(encoder(file))
for m in vcat(0:min(n,20), sort!(rand(0:n, 10)))
for m in vcat(0:min(n,20), rand(0:n, 10))
Test.@test read(stream, m) == @view(data[1:m])
seekstart(stream)
end
Expand Down

0 comments on commit e9806d5

Please sign in to comment.