2014-06-16 15:53:37 -04:00
|
|
|
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"
|
2014-06-16 15:53:37 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestArtifact_ImplementsArtifact(t *testing.T) {
|
|
|
|
var raw interface{}
|
|
|
|
raw = &Artifact{}
|
2020-11-19 15:17:11 -05:00
|
|
|
if _, ok := raw.(packersdk.Artifact); !ok {
|
2014-06-16 15:53:37 -04:00
|
|
|
t.Fatalf("Artifact should be a Artifact")
|
|
|
|
}
|
|
|
|
}
|