aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/op_noop_test.go
blob: c7710b8364a7e9b1d9650396942f71a78461e560 (plain) (blame)
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)
	})
}