packer-cn/post-processor/vagrant-cloud/artifact_test.go

16 lines
292 B
Go
Raw Normal View History

package vagrantcloud
import (
"testing"
2018-01-22 20:21:10 -05:00
2020-12-17 16:29:25 -05:00
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
)
func TestArtifact_ImplementsArtifact(t *testing.T) {
var raw interface{}
raw = &Artifact{}
if _, ok := raw.(packersdk.Artifact); !ok {
t.Fatalf("Artifact should be a Artifact")
}
}