Closed cristaloleg closed 3 weeks ago
Drop store.NewStoreWithHead. Replace it with a test helpers where appropriate. store package now has newStoreWithHead, sync has newTestStore. Both now require tb testing.TB as a 1st param which simplifies usage for the future tests and benchmarks.
store.NewStoreWithHead
store
newStoreWithHead
sync
newTestStore
tb testing.TB
Fixes #188
Marking with break even though mostly "unused"
break
Overview
Drop
store.NewStoreWithHead
. Replace it with a test helpers where appropriate.store
package now hasnewStoreWithHead
,sync
hasnewTestStore
. Both now requiretb testing.TB
as a 1st param which simplifies usage for the future tests and benchmarks.Fixes #188