test: make erlfmt happy
This commit is contained in:
parent
264404e180
commit
7eef86363a
|
@ -435,7 +435,12 @@ t_write_failure(Config) ->
|
|||
#{?snk_kind := buffer_worker_flush_ack},
|
||||
2_000
|
||||
),
|
||||
?assertMatch({error, Reason} when Reason =:= econnrefused; Reason =:= closed, Result),
|
||||
case Result of
|
||||
{error, Reason} when Reason =:= econnrefused; Reason =:= closed ->
|
||||
ok;
|
||||
_ ->
|
||||
throw({unexpected, Result})
|
||||
end,
|
||||
ok
|
||||
end),
|
||||
ok.
|
||||
|
|
Loading…
Reference in New Issue