1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package lamport import ( "testing" "github.com/go-git/go-billy/v5/memfs" "github.com/stretchr/testify/require" ) func TestPersistedClock(t *testing.T) { root := memfs.New() c, err := NewPersistedClock(root, "test-clock") require.NoError(t, err) testClock(t, c) }