ref: Fix vdl tests under the new rpc system.
Change-Id: I99cf0f2439bffb7b7c907dcd0ac28308cc48521d
diff --git a/cmd/vdl/arith_test.go b/cmd/vdl/arith_test.go
index ae84453..8ae1706 100644
--- a/cmd/vdl/arith_test.go
+++ b/cmd/vdl/arith_test.go
@@ -103,7 +103,7 @@
ctx, shutdown := test.V23Init()
defer shutdown()
- ctx, server, err := v23.WithNewServer(ctx, "", arith.CalculatorServer(&serverCalculator{}), nil)
+ _, server, err := v23.WithNewServer(ctx, "", arith.CalculatorServer(&serverCalculator{}), nil)
if err != nil {
t.Fatal(err)
}
@@ -287,7 +287,7 @@
}
for i, obj := range objects {
- ctx, server, err := v23.WithNewServer(ctx, "", obj, nil)
+ _, server, err := v23.WithNewServer(ctx, "", obj, nil)
if err != nil {
t.Fatalf("%d: %v", i, err)
}