Browse Source

removed wrong placed tests

luis 7 năm trước cách đây
mục cha
commit
875b6d5e8c
1 tập tin đã thay đổi với 0 bổ sung17 xóa
  1. 0 17
      go/src/flow/registry/entry_test.go

+ 0 - 17
go/src/flow/registry/entry_test.go

@@ -1,28 +1,11 @@
 package registry_test
 
 import (
-	"flow"
 	"flow/internal/assert"
 	"flow/registry"
 	"testing"
 )
 
-func TestFlowFunc(t *testing.T) {
-	a := assert.A(t)
-	r := registry.New()
-	f := flow.New()
-	f.SetRegistry(r)
-
-	r.Add("flowfunc", func(paramFlow *flow.Flow) int {
-		a.Eq(paramFlow, f, "Flow should be equal")
-		return 0
-	})
-
-	op, err := f.Op("flowfunc")
-	a.Eq(err, nil, "should not error fetching operator")
-	op.Process()
-
-}
 func TestNewEntryInvalid(t *testing.T) {
 	a := assert.A(t)
 	r := registry.New()