mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-03-18 16:44:34 -04:00
13 lines
337 B
Go
13 lines
337 B
Go
package plugin
|
|
|
|
import (
|
|
"github.com/mitchellh/go-testing-interface"
|
|
)
|
|
|
|
// TestPlugin returns a fully in-memory and side-effect free Plugin that
|
|
// can be used for testing. Additional options can be given to provide your own
|
|
// factories, configuration, etc.
|
|
func TestPlugin(t testing.T) *Plugin {
|
|
plugin := &Plugin{}
|
|
return plugin
|
|
}
|