diff options
Diffstat (limited to 'internal/container/plugins_test.go')
-rw-r--r-- | internal/container/plugins_test.go | 20 |
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) - } - } -} |