瀏覽代碼

fix test break

Darien Raymond 7 年之前
父節點
當前提交
ec54b04537
共有 1 個文件被更改,包括 6 次插入0 次删除
  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)