aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-04-15 19:45:15 +0800
committerFelix Lange <fjl@twurst.com>2016-04-15 19:45:15 +0800
commit6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea (patch)
tree1b3b3677892e2d94400f3604dc6c2dda4c05ccd4 /whisper
parent5c17b2f5211ec98a87140c874483681de4e34391 (diff)
parentbf5ae502ef179490a039c9bcd66d32cd5a7ce5e9 (diff)
downloadgo-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar
go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.gz
go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.bz2
go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.lz
go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.xz
go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.tar.zst
go-tangerine-6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea.zip
Merge pull request #2458 from fjl/go-vet
all: fix go vet warnings
Diffstat (limited to 'whisper')
-rw-r--r--whisper/message_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/whisper/message_test.go b/whisper/message_test.go
index d70da40a4..921c967a9 100644
--- a/whisper/message_test.go
+++ b/whisper/message_test.go
@@ -108,7 +108,7 @@ func TestMessageAnonymousEncryptDecrypt(t *testing.T) {
t.Fatalf("failed to open encrypted message: %v", err)
}
if !bytes.Equal(out.Payload, payload) {
- t.Error("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
+ t.Errorf("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
}
}
@@ -144,7 +144,7 @@ func TestMessageFullCrypto(t *testing.T) {
t.Fatalf("failed to open encrypted message: %v", err)
}
if !bytes.Equal(out.Payload, payload) {
- t.Error("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
+ t.Errorf("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
}
pubKey := out.Recover()