diff options
Diffstat (limited to 'rpc/subscription_test.go')
-rw-r--r-- | rpc/subscription_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/subscription_test.go b/rpc/subscription_test.go index 97f2c0d65..00c4e0e35 100644 --- a/rpc/subscription_test.go +++ b/rpc/subscription_test.go @@ -141,7 +141,7 @@ func TestNotifications(t *testing.T) { } var ok bool - if subid, ok = response.Result.(string); !ok { + if _, ok = response.Result.(string); !ok { t.Fatalf("expected subscription id, got %T", response.Result) } |