summaryrefslogtreecommitdiff
path: root/internal/container/plugins_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-01-15 15:52:23 +0300
committerValery Piashchynski <[email protected]>2022-01-15 15:52:23 +0300
commit65541b95a6ebc72aef818f1d2e4b0dc721f59e22 (patch)
treed9dbe5577c72810fadf1f2bc1e5fcee889fda983 /internal/container/plugins_test.go
parent5254c8eb27311e2a8a53a4c90c3829cf1238c563 (diff)
initial commit
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal/container/plugins_test.go')
-rw-r--r--internal/container/plugins_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/internal/container/plugins_test.go b/internal/container/plugins_test.go
deleted file mode 100644
index da639f7d..00000000
--- a/internal/container/plugins_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package container_test
-
-import (
- "reflect"
- "testing"
-
- "github.com/spiral/roadrunner-binary/v2/internal/container"
-)
-
-func TestPlugins(t *testing.T) {
- for _, p := range container.Plugins() {
- if p == nil {
- t.Error("plugin cannot be nil")
- }
-
- if pk := reflect.TypeOf(p).Kind(); pk != reflect.Ptr && pk != reflect.Struct {
- t.Errorf("plugin %v must be a structure or pointer to the structure", p)
- }
- }
-}