From 6fdd0893c3ebf57e5a9ba2af569c595c859ab902 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 15 Apr 2016 11:06:57 +0200 Subject: all: fix go vet warnings --- whisper/message_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'whisper/message_test.go') 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() -- cgit