aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/op_noop_test.go
blob: e2f5cde00bdda2988e8bf5902cc6424b17ee13b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package dag

import (
	"testing"

	"github.com/MichaelMure/git-bug/identity"
)

func TestNoopSerialize(t *testing.T) {
	SerializeRoundTripTest(t, func(author identity.Interface, unixTime int64) *NoOpOperation[*snapshotMock] {
		return NewNoOpOp[*snapshotMock](1, author, unixTime)
	})
}