aboutsummaryrefslogtreecommitdiff
path: root/sig/sig_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sig/sig_test.go')
-rw-r--r--sig/sig_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/sig/sig_test.go b/sig/sig_test.go
deleted file mode 100644
index 06be3c0..0000000
--- a/sig/sig_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package sig
-
-import (
- "bytes"
- "testing"
-)
-
-func TestSig(t *testing.T) {
- b := &Block{
- Comment: "comment",
- Bytes: []byte{'t', 'e', 's', 't'},
- }
- b2, err := Decode(EncodeToMemory(b))
- if err != nil {
- t.Error(err)
- }
- if b.Comment != b2.Comment || !bytes.Equal(b.Bytes, b2.Bytes) {
- t.Errorf("got %v, want %v", b2, b)
- }
-}