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

15 lines
267 B
Go
Raw Normal View History

package vagrantcloud
import (
"github.com/mitchellh/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")
}
}