mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-25 01:04:00 -04:00
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
19 lines
359 B
Go
19 lines
359 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package compress
|
|
|
|
import (
|
|
"testing"
|
|
|
|
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!")
|
|
}
|
|
}
|