Skip to content
Snippets Groups Projects
Commit d0d1e3d7 authored by shen's avatar shen
Browse files

test panic error

parent 57161955
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,6 @@ package consul
import (
"fmt"
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/remoting/consul"
"math/rand"
"strconv"
"testing"
......@@ -32,11 +30,13 @@ import (
)
import (
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/common/extension"
"github.com/apache/dubbo-go/common/observer"
"github.com/apache/dubbo-go/config"
"github.com/apache/dubbo-go/registry"
"github.com/apache/dubbo-go/remoting/consul"
)
var (
......
......@@ -127,7 +127,7 @@ type mockServiceDiscovery struct {
}
func (m *mockServiceDiscovery) Initialize(registryURL common.URL) error {
panic("implement me")
return nil
}
func (m *mockServiceDiscovery) String() string {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment