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