github.com/yoctocloud/packer@v0.6.2-0.20160520224004-e11a0a18423f/builder/amazon/chroot/step_mount_extra_test.go (about) 1 package chroot 2 3 import "testing" 4 5 func TestMountExtraCleanupFunc_ImplementsCleanupFunc(t *testing.T) { 6 var raw interface{} 7 raw = new(StepMountExtra) 8 if _, ok := raw.(Cleanup); !ok { 9 t.Fatalf("cleanup func should be a CleanupFunc") 10 } 11 }