Skip to content

Commit 709f520

Browse files
committed
rename test helper
1 parent ba5e194 commit 709f520

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/streaming_round_trip_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule Msgpack.StreamingRoundTripTest do
77
alias Msgpack.StreamDecoder
88

99
property "a round trip through the streaming API is lossless" do
10-
check all(terms <- list_of_encodable_terms(), chunk_size <- StreamData.integer(1..20)) do
10+
check all(terms <- encodable_terms(), chunk_size <- StreamData.integer(1..20)) do
1111
binaries =
1212
StreamEncoder.encode(terms)
1313
|> Stream.map(fn {:ok, binary} -> binary end)
@@ -26,7 +26,7 @@ defmodule Msgpack.StreamingRoundTripTest do
2626
end
2727
end
2828

29-
defp list_of_encodable_terms do
29+
defp encodable_terms() do
3030
StreamData.list_of(encodable_term())
3131
end
3232

0 commit comments

Comments
 (0)