mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-20 06:51:39 -04:00
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
16 lines
266 B
Go
16 lines
266 B
Go
package common
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/packer/helper/multistep"
|
|
)
|
|
|
|
func TestStepProvision_Impl(t *testing.T) {
|
|
var raw interface{}
|
|
raw = new(StepProvision)
|
|
if _, ok := raw.(multistep.Step); !ok {
|
|
t.Fatalf("provision should be a step")
|
|
}
|
|
}
|