diff options
Diffstat (limited to 'worktree_commit_test.go')
-rw-r--r-- | worktree_commit_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/worktree_commit_test.go b/worktree_commit_test.go index 242d2fd..17a1293 100644 --- a/worktree_commit_test.go +++ b/worktree_commit_test.go @@ -1,6 +1,7 @@ package git import ( + "bytes" "strings" "time" @@ -163,7 +164,7 @@ func (s *WorktreeSuite) TestCommitSign(c *C) { // assertStorageStatus(c, r, 1, 1, 1, expectedHash) // Verify the commit. - pks := new(strings.Builder) + pks := new(bytes.Buffer) pkw, err := armor.Encode(pks, openpgp.PublicKeyType, nil) c.Assert(err, IsNil) |