diff --git a/test/machi_pb_high_client_test.erl b/test/machi_pb_high_client_test.erl index 9d3875d..0af1dbc 100644 --- a/test/machi_pb_high_client_test.erl +++ b/test/machi_pb_high_client_test.erl @@ -74,9 +74,9 @@ smoke_test2() -> Size3 = iolist_size(Chunk3), ok = ?C:write_chunk(Clnt, File2, Off3, Chunk3, none), - Reads = [{Chunk1, File1, Off1, Size1}, - {Chunk2, File2, Off2, Size2}, - {Chunk3, File2, Off3, Size3}], + Reads = [{iolist_to_binary(Chunk1), File1, Off1, Size1}, + {iolist_to_binary(Chunk2), File2, Off2, Size2}, + {iolist_to_binary(Chunk3), File2, Off3, Size3}], [{ok, Ch} = ?C:read_chunk(Clnt, Fl, Off, Sz) || {Ch, Fl, Off, Sz} <- Reads],