aboutsummaryrefslogtreecommitdiff
path: root/keys_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-15 00:20:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-15 00:20:40 +0200
commit67fa58663e860b333b9fe4c8e25405d98233f1c3 (patch)
tree8f77154235b20cf6d2e1de245825ba609a5a95ed /keys_test.go
parent894e41ee7aae0b9a9b8e3e35027c3e2e07096d96 (diff)
less clutter
Diffstat (limited to 'keys_test.go')
-rw-r--r--keys_test.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/keys_test.go b/keys_test.go
index f4c5f31..2b44110 100644
--- a/keys_test.go
+++ b/keys_test.go
@@ -13,7 +13,6 @@ func TestUnmarshalSig(t *testing.T) {
if !bytes.Equal(b64sig, out) {
t.Errorf("want %v, got %v", b64sig, out)
}
- t.Logf("%+v", v)
}
func TestUnmarshalPub(t *testing.T) {
@@ -24,7 +23,6 @@ func TestUnmarshalPub(t *testing.T) {
if !bytes.Equal(b64pub, out) {
t.Errorf("want %v, got %v", b64pub, out)
}
- t.Logf("%+v", v)
}
func TestUnmarshalEnc(t *testing.T) {
@@ -35,9 +33,8 @@ func TestUnmarshalEnc(t *testing.T) {
if !bytes.Equal(b64enc, out) {
t.Errorf("want %v, got %v", b64enc, out)
}
- t.Logf("%+v", v)
if !v.IsValid(nil) {
- t.Error("invalid")
+ t.Error("invalid %+v", v)
}
}
@@ -49,9 +46,7 @@ func TestUnmarshalKDF(t *testing.T) {
if !bytes.Equal(b64enc, out) {
t.Errorf("want %v, got %v", b64enc, out)
}
- t.Logf("%+v", v)
if !v.IsValid([]byte("test")) {
- t.Logf("%+v", v)
- t.Error("invalid")
+ t.Errorf("invalid %+v", v)
}
}