aboutsummaryrefslogblamecommitdiffstats
path: root/util/lamport/persisted_clock_test.go
blob: 9ef690da3922f944b74db8eaff0aa48ef6adaf1b (plain) (tree)
1
2
3
4
5
6
7
8
9
10


               

                 
                                             



                                             
                           
 
                                                       



                               
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)
}