rpc: fix server test

This commit is contained in:
Felix Lange 2020-03-11 11:27:28 +01:00
parent 6cf71d6ab4
commit 1491c498a3

View file

@ -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))
}