12 lines
245 B
Go
12 lines
245 B
Go
|
package chroot
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestAttachVolumeCleanupFunc_ImplementsCleanupFunc(t *testing.T) {
|
||
|
var raw interface{}
|
||
|
raw = new(StepAttachVolume)
|
||
|
if _, ok := raw.(Cleanup); !ok {
|
||
|
t.Fatalf("cleanup func should be a CleanupFunc")
|
||
|
}
|
||
|
}
|