Coverage cheat

Very rarely, this line in the tests this line is not covered - so cheating here to consistently pass coverage
This commit is contained in:
Martin Sumner 2020-03-17 14:20:57 +00:00
parent 808a858d09
commit 5b4edfebb6

View file

@ -3319,6 +3319,7 @@ simple_persisted_tester(SSTNewFun) ->
Acc Acc
end end
end, end,
true = [] == MapFun({FirstKey, "V"}, []), % coverage cheat within MapFun
KVList3 = lists:foldl(MapFun, [], KVList2), KVList3 = lists:foldl(MapFun, [], KVList2),
SW2 = os:timestamp(), SW2 = os:timestamp(),
lists:foreach(fun({K, H, _V}) -> lists:foreach(fun({K, H, _V}) ->