diff options
-rw-r--r-- | worktree_commit_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/worktree_commit_test.go b/worktree_commit_test.go index 17a1293..823a886 100644 --- a/worktree_commit_test.go +++ b/worktree_commit_test.go @@ -140,8 +140,6 @@ func (s *WorktreeSuite) TestRemoveAndCommitAll(c *C) { } func (s *WorktreeSuite) TestCommitSign(c *C) { - // expectedHash := plumbing.NewHash("98c4ac7c29c913f7461eae06e024dc18e80d23a4") - fs := memfs.New() storage := memory.NewStorage() @@ -158,11 +156,8 @@ func (s *WorktreeSuite) TestCommitSign(c *C) { key := commitSignKey(c) hash, err := w.Commit("foo\n", &CommitOptions{Author: defaultSignature(), SignKey: key}) - // c.Assert(hash, Equals, expectedHash) c.Assert(err, IsNil) - // assertStorageStatus(c, r, 1, 1, 1, expectedHash) - // Verify the commit. pks := new(bytes.Buffer) pkw, err := armor.Encode(pks, openpgp.PublicKeyType, nil) |