aboutsummaryrefslogblamecommitdiffstats
path: root/bug/op_set_title_test.go
blob: 8b45c74e5aa56bbc9b32f09d582fdbe6055bb9e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


           
                 
 
                                                   
                                                 


                                          


                                                                                                          
 
package bug

import (
	"testing"

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

func TestSetTitleSerialize(t *testing.T) {
	dag.SerializeRoundTripTest(t, func(author identity.Interface, unixTime int64) *SetTitleOperation {
		return NewSetTitleOp(author, unixTime, "title", "was")
	})
}