We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d64e7d1 commit 4564c6dCopy full SHA for 4564c6d
1 file changed
test/stream_decoder_test.exs
@@ -14,7 +14,7 @@ defmodule Msgpack.StreamDecoderTest do
14
15
test "decodes a stream where objects cross chunk boundaries" do
16
terms = [123, "elixir", true, %{"a" => 1}]
17
- single_binary = Enum.map(terms, &Msgpack.encode!/1) |> Enum.join()
+ single_binary = Enum.map_join(terms, &Msgpack.encode!/1)
18
<<chunk1::binary-size(4), chunk2::binary>> = single_binary
19
input_stream = [chunk1, chunk2]
20
0 commit comments