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 --- rlp/raw_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rlp/raw_test.go') diff --git a/rlp/raw_test.go b/rlp/raw_test.go index 7d3ca13af..bac09d8d4 100644 --- a/rlp/raw_test.go +++ b/rlp/raw_test.go @@ -61,13 +61,13 @@ func TestCountValues(t *testing.T) { func TestSplitTypes(t *testing.T) { if _, _, err := SplitString(unhex("C100")); err != ErrExpectedString { - t.Error("SplitString returned %q, want %q", err, ErrExpectedString) + t.Errorf("SplitString returned %q, want %q", err, ErrExpectedString) } if _, _, err := SplitList(unhex("01")); err != ErrExpectedList { - t.Error("SplitString returned %q, want %q", err, ErrExpectedList) + t.Errorf("SplitString returned %q, want %q", err, ErrExpectedList) } if _, _, err := SplitList(unhex("81FF")); err != ErrExpectedList { - t.Error("SplitString returned %q, want %q", err, ErrExpectedList) + t.Errorf("SplitString returned %q, want %q", err, ErrExpectedList) } } -- cgit