aboutsummaryrefslogtreecommitdiffstats
path: root/packfile/objects_test.go
diff options
context:
space:
mode:
authorAlex Guerrieri <alex@tyba.com>2015-10-06 18:51:47 +0200
committerAlex Guerrieri <alex@tyba.com>2015-10-06 18:51:47 +0200
commit465cba710284204f9851854587c2887c247222db (patch)
tree75158b29f50acf928a069f4478852de51d77b466 /packfile/objects_test.go
parentb9471b13256703d3f5eb88b280b4a16ce325ec1b (diff)
downloadgo-git-465cba710284204f9851854587c2887c247222db.tar.gz
Extract GitHash function
Diffstat (limited to 'packfile/objects_test.go')
-rw-r--r--packfile/objects_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/packfile/objects_test.go b/packfile/objects_test.go
index 07609e3..93c348b 100644
--- a/packfile/objects_test.go
+++ b/packfile/objects_test.go
@@ -7,11 +7,6 @@ import (
"github.com/stretchr/testify/assert"
)
-func TestCalculateHash(t *testing.T) {
- assert.Equal(t, "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", calculateHash("blob", []byte("")))
- assert.Equal(t, "8ab686eafeb1f44702738c8b0f24f2567c36da6d", calculateHash("blob", []byte("Hello, World!\n")))
-}
-
func TestSignature(t *testing.T) {
cases := map[string]Signature{
`Foo Bar <foo@bar.com> 1257894000 +0100`: {