diff options
Diffstat (limited to 'entity/dag/op_noop_test.go')
-rw-r--r-- | entity/dag/op_noop_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/entity/dag/op_noop_test.go b/entity/dag/op_noop_test.go new file mode 100644 index 00000000..e2f5cde0 --- /dev/null +++ b/entity/dag/op_noop_test.go @@ -0,0 +1,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) + }) +} |