config: fix tests

This commit is contained in:
Mitchell Hashimoto 2016-01-19 13:17:47 -08:00
parent f223be15cd
commit 693736b52a
1 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,9 @@ func TestInterpolationWalker_detect(t *testing.T) {
Input: map[string]interface{}{
"foo": "$${var.foo}",
},
Result: nil,
Result: []string{
"Literal(TypeString, ${var.foo})",
},
},
{
@ -114,7 +116,7 @@ func TestInterpolationWalker_replace(t *testing.T) {
"foo": "$${var.foo}",
},
Output: map[string]interface{}{
"foo": "$${var.foo}",
"foo": "bar",
},
Value: "bar",
},