1 2 3 4 5 6 7 8 9 10 11 12 13
package dag import ( "testing" "github.com/MichaelMure/git-bug/entities/identity" ) func TestNoopSerialize(t *testing.T) { SerializeRoundTripTest(t, func(author identity.Interface, unixTime int64) *NoOpOperation[*snapshotMock] { return NewNoOpOp[*snapshotMock](1, author, unixTime) }) }