mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-25 19:04:59 -05:00
12 lines
241 B
Go
12 lines
241 B
Go
|
|
package chroot
|
||
|
|
|
||
|
|
import "testing"
|
||
|
|
|
||
|
|
func TestMountExtraCleanupFunc_ImplementsCleanupFunc(t *testing.T) {
|
||
|
|
var raw interface{}
|
||
|
|
raw = new(StepMountExtra)
|
||
|
|
if _, ok := raw.(Cleanup); !ok {
|
||
|
|
t.Fatalf("cleanup func should be a CleanupFunc")
|
||
|
|
}
|
||
|
|
}
|