@@ -624,7 +624,7 @@ func TestPushChanges(t *testing.T) {
624624 assert .NoError (t , err )
625625 assert .Equal (t , "428ecf70bc22df0ba3dcf194b5ce53e769abab07" , commitID )
626626 assert .Equal (t , "update version 1.2.3" , worktree .commitMsg )
627- assert .Equal (t , & git.CommitOptions {All : true , Author : & object.Signature {Name : "Project Piper" , When : testTime }}, worktree .commitOpts )
627+ assert .Equal (t , & git.CommitOptions {All : true , AllowEmptyCommits : true , Author : & object.Signature {Name : "Project Piper" , When : testTime }}, worktree .commitOpts )
628628 assert .Equal (t , "1.2.3" , repo .tag )
629629 assert .Equal (t , "428ecf70bc22df0ba3dcf194b5ce53e769abab07" , repo .tagHash .String ())
630630 assert .Equal (t , & git.PushOptions {RefSpecs : []gitConfig.RefSpec {"refs/tags/1.2.3:refs/tags/1.2.3" }, Auth : & gitHttp.BasicAuth {Username : config .Username , Password : config .Password }}, repo .pushOptions )
@@ -644,7 +644,7 @@ func TestPushChanges(t *testing.T) {
644644 assert .NoError (t , err )
645645 assert .Equal (t , "428ecf70bc22df0ba3dcf194b5ce53e769abab07" , commitID )
646646 assert .Equal (t , "update version 1.2.3" , worktree .commitMsg )
647- assert .Equal (t , & git.CommitOptions {All : true , Author : & object.Signature {Name : "Project Piper" , When : testTime }}, worktree .commitOpts )
647+ assert .Equal (t , & git.CommitOptions {All : true , AllowEmptyCommits : true , Author : & object.Signature {Name : "Project Piper" , When : testTime }}, worktree .commitOpts )
648648 assert .Equal (t , "1.2.3" , repo .tag )
649649 assert .Equal (t , "428ecf70bc22df0ba3dcf194b5ce53e769abab07" , repo .tagHash .String ())
650650 assert .Equal (t , & git.PushOptions {RefSpecs : []gitConfig.RefSpec {"refs/tags/1.2.3:refs/tags/1.2.3" }, Auth : & ssh.PublicKeysCallback {}, CABundle : customCerts }, repo .pushOptions )
0 commit comments