mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
rpc: fix server test
This commit is contained in:
parent
6cf71d6ab4
commit
1491c498a3
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ func TestServerRegisterName(t *testing.T) {
|
|||
t.Fatalf("Expected service calc to be registered")
|
||||
}
|
||||
|
||||
wantCallbacks := 7
|
||||
wantCallbacks := 8
|
||||
if len(svc.callbacks) != wantCallbacks {
|
||||
t.Errorf("Expected %d callbacks for service 'service', got %d", wantCallbacks, len(svc.callbacks))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue