소스 검색

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)