diff options
author | Felix Lange <fjl@twurst.com> | 2016-04-15 19:45:15 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-15 19:45:15 +0800 |
commit | 6197fbf8d70c1aa96c3e87de91ff3f46f454c1ea (patch) | |
tree | 1b3b3677892e2d94400f3604dc6c2dda4c05ccd4 /p2p/message_test.go | |
parent | 5c17b2f5211ec98a87140c874483681de4e34391 (diff) | |
parent | bf5ae502ef179490a039c9bcd66d32cd5a7ce5e9 (diff) | |
download | go-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 'p2p/message_test.go')
-rw-r--r-- | p2p/message_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/message_test.go b/p2p/message_test.go index 013214e21..a01f75556 100644 --- a/p2p/message_test.go +++ b/p2p/message_test.go @@ -58,7 +58,7 @@ loop: if err := SendItems(rw1, 1); err == nil { t.Error("EncodeMsg returned nil error") } else if err != ErrPipeClosed { - t.Error("EncodeMsg returned wrong error: got %v, want %v", err, ErrPipeClosed) + t.Errorf("EncodeMsg returned wrong error: got %v, want %v", err, ErrPipeClosed) } close(done) }() |