mirror of https://github.com/hashicorp/terraform
parent
0e666aa575
commit
dfa02e4412
@ -0,0 +1,15 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TestRawConfig is used to create a RawConfig for testing.
|
||||
func TestRawConfig(t *testing.T, c map[string]interface{}) *RawConfig {
|
||||
cfg, err := NewRawConfig(c)
|
||||
if err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
|
||||
return cfg
|
||||
}
|
||||
Loading…
Reference in new issue