packer-cn/builder/osc/chroot/step_copy_files_test.go

12 lines
239 B
Go
Raw Normal View History

2019-05-09 12:50:44 -04:00
package chroot
import "testing"
func TestCopyFilesCleanupFunc_ImplementsCleanupFunc(t *testing.T) {
var raw interface{}
raw = new(StepCopyFiles)
if _, ok := raw.(Cleanup); !ok {
t.Fatalf("cleanup func should be a CleanupFunc")
}
}