16 lines
303 B
Go
16 lines
303 B
Go
package chroot
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/packer/common/chroot"
|
|
)
|
|
|
|
func TestAttachVolumeCleanupFunc_ImplementsCleanupFunc(t *testing.T) {
|
|
var raw interface{}
|
|
raw = new(StepAttachVolume)
|
|
if _, ok := raw.(chroot.Cleanup); !ok {
|
|
t.Fatalf("cleanup func should be a CleanupFunc")
|
|
}
|
|
}
|