Adapt machi_cr_client_test:smoke_test2/0 to change in FLU semantics: partial_write -> unwritten

This commit is contained in:
Scott Lystig Fritchie 2015-10-12 14:22:47 +09:00
parent f3e6d46e36
commit 8a8c4dcede

View file

@ -148,7 +148,7 @@ smoke_test2() ->
%% Misc API smoke & minor regression checks
{error, not_written} = machi_cr_client:read_chunk(C1, <<"no">>,
999999999, 1),
{error, partial_read} = machi_cr_client:read_chunk(C1, File1,
{error, not_written} = machi_cr_client:read_chunk(C1, File1,
Off1, 88888888),
%% Checksum list return value is a primitive binary().
{ok, KludgeBin} = machi_cr_client:checksum_list(C1, File1),