Skip to content

Commit bdef152

Browse files
committed
Formatter
1 parent 86d36eb commit bdef152

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

test/zstd_tests.erl

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,17 @@ zstd_parallel_test() ->
4343
?ENABLE_LONG_DISTANCE_MATCHING,
4444
?NUM_WORKERS),
4545
Parent = self(),
46-
F = fun() -> zstd:stream_compress(CStream, Bin), Parent ! done end,
46+
F = fun() ->
47+
zstd:stream_compress(CStream, Bin),
48+
Parent ! done
49+
end,
4750
lists:foreach(fun(_) -> spawn(F) end, lists:seq(1, 100)),
48-
lists:foreach(fun(_) -> receive done -> ok end end, lists:seq(1, 100)),
51+
lists:foreach(fun(_) ->
52+
receive
53+
done ->
54+
ok
55+
end
56+
end,
57+
lists:seq(1, 100)),
4958
{ok, _} = zstd:stream_flush(CStream),
50-
ok.
59+
ok.

0 commit comments

Comments
 (0)