21 lines
372 B
Go
21 lines
372 B
Go
|
package puppet
|
||
|
|
||
|
import (
|
||
|
"github.com/mitchellh/packer/packer"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func testConfig() map[string]interface{} {
|
||
|
return map[string]interface{}{
|
||
|
// "inline": []interface{}{"foo", "bar"},
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func TestProvisioner_Impl(t *testing.T) {
|
||
|
var raw interface{}
|
||
|
raw = &Provisioner{}
|
||
|
if _, ok := raw.(packer.Provisioner); !ok {
|
||
|
t.Fatalf("must be a Provisioner")
|
||
|
}
|
||
|
}
|