Files
Packer-Cn/post-processor/googlecompute-import/artifact_test.go
T

16 lines
306 B
Go
Raw Normal View History

2018-03-29 22:50:58 -05:00
package googlecomputeimport
import (
"testing"
2020-11-19 12:17:11 -08:00
packersdk "github.com/hashicorp/packer/packer-plugin-sdk/packer"
2018-03-29 22:50:58 -05:00
)
func TestArtifact_ImplementsArtifact(t *testing.T) {
var raw interface{}
raw = &Artifact{}
2020-11-19 12:17:11 -08:00
if _, ok := raw.(packersdk.Artifact); !ok {
2018-03-29 22:50:58 -05:00
t.Fatalf("Artifact should be a Artifact")
}
}