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

15 lines
267 B
Go
Raw Normal View History

package vagrantcloud
import (
2017-04-04 16:39:01 -04:00
"github.com/hashicorp/packer/packer"
"testing"
)
func TestArtifact_ImplementsArtifact(t *testing.T) {
var raw interface{}
raw = &Artifact{}
if _, ok := raw.(packer.Artifact); !ok {
t.Fatalf("Artifact should be a Artifact")
}
}