Browse Source

fix test break

Darien Raymond 7 years ago
parent
commit
ec54b04537
1 changed files with 6 additions and 0 deletions
  1. 6 0
      transport/internet/udp/dispatcher_test.go

+ 6 - 0
transport/internet/udp/dispatcher_test.go

@@ -21,6 +21,12 @@ func (d *TestDispatcher) Dispatch(ctx context.Context, dest net.Destination) (ra
 	return d.OnDispatch(ctx, dest)
 }
 
+func (d *TestDispatcher) Start() error {
+	return nil
+}
+
+func (d *TestDispatcher) Close() {}
+
 func TestSameDestinationDispatching(t *testing.T) {
 	assert := With(t)