carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package leasetest
2
3import (
4 "testing"
5
6 "github.com/carlosframework/platform/internal/lease"
7)
8
9func TestVersionedBucketContract(t *testing.T) {
10 RunVersionedStoreContract(t, func(t *testing.T) (lease.VersionedStore, *VersionedBucket, string, func() int) {
11 m := NewVersionedBucket()
12 m.AddBucket("data")
13 return m, m, "data", nil
14 })
15}
16