move test data
This commit is contained in:
@@ -7,13 +7,14 @@ import (
|
||||
|
||||
proto "github.com/micro/go-micro/debug/proto"
|
||||
"github.com/micro/go-micro/registry/memory"
|
||||
"github.com/micro/go-micro/util/test"
|
||||
)
|
||||
|
||||
func TestFunction(t *testing.T) {
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(1)
|
||||
|
||||
r := memory.NewRegistry(memory.Services(testData))
|
||||
r := memory.NewRegistry(memory.Services(test.Data))
|
||||
|
||||
// create service
|
||||
fn := NewFunction(
|
||||
|
Reference in New Issue
Block a user