summaryrefslogtreecommitdiff
path: root/funcs/data_test.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-01-25 20:11:31 -0500
committerGitHub <noreply@github.com>2024-01-25 20:11:31 -0500
commitebb97fb7367fb983cffc1935a8fb57e4b80f5249 (patch)
tree43ef6cd01f629f60f59efe1e5b003f7c8e3a1257 /funcs/data_test.go
parentf1d9158ea99abbe556251c1ff2fe970f3b460ee9 (diff)
Move funcs package to internal (#1977)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'funcs/data_test.go')
-rw-r--r--funcs/data_test.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/funcs/data_test.go b/funcs/data_test.go
deleted file mode 100644
index c536beb3..00000000
--- a/funcs/data_test.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package funcs
-
-import (
- "context"
- "strconv"
- "testing"
-
- "github.com/stretchr/testify/assert"
-)
-
-func TestCreateDataFuncs(t *testing.T) {
- t.Parallel()
-
- for i := 0; i < 10; i++ {
- // Run this a bunch to catch race conditions
- t.Run(strconv.Itoa(i), func(t *testing.T) {
- t.Parallel()
-
- ctx := context.Background()
- fmap := CreateDataFuncs(ctx, nil)
- actual := fmap["data"].(func() interface{})
-
- assert.Equal(t, ctx, actual().(*DataFuncs).ctx)
- })
- }
-}