The return value of ets is generally 'true'

This commit is contained in:
Mark Allen 2015-10-08 15:47:11 -05:00
parent aca3759e45
commit c1b9038447

View file

@ -211,7 +211,7 @@ generate_filename(DataDir, Prefix, N) ->
maybe_cleanup(_Tid, _Key, false) ->
ok;
maybe_cleanup(Tid, Key, true) ->
ok = ets:delete(Tid, Key).
true = ets:delete(Tid, Key).
-ifdef(TEST).