diff options
author | Felix Lange <fjl@twurst.com> | 2016-04-15 17:06:57 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-15 17:17:27 +0800 |
commit | 6fdd0893c3ebf57e5a9ba2af569c595c859ab902 (patch) | |
tree | 2df67265a0350b68b2f10ba2f7dcd292fef59ad0 /whisper | |
parent | 68c755a238f1a204087c2843f01d48fc6039716f (diff) | |
download | go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.gz go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.bz2 go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.lz go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.xz go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.zst go-tangerine-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.zip |
all: fix go vet warnings
Diffstat (limited to 'whisper')
-rw-r--r-- | whisper/message_test.go | 4 |
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() |