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 /rpc/json_test.go | |
parent | 68c755a238f1a204087c2843f01d48fc6039716f (diff) | |
download | dexon-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.gz dexon-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.tar.zst dexon-6fdd0893c3ebf57e5a9ba2af569c595c859ab902.zip |
all: fix go vet warnings
Diffstat (limited to 'rpc/json_test.go')
-rw-r--r-- | rpc/json_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/json_test.go b/rpc/json_test.go index b095996b8..5048d2f7a 100644 --- a/rpc/json_test.go +++ b/rpc/json_test.go @@ -75,7 +75,7 @@ func TestJSONRequestParsing(t *testing.T) { t.Fatalf("%v", e) } if id != 1234 { - t.Fatalf("Expected id 1234 but got %s", id) + t.Fatalf("Expected id 1234 but got %d", id) } } else { t.Fatalf("invalid request, expected *json.RawMesage got %T", requests[0].id) |