Fix the Push test outputs
Change the expected outputs in the Push tests to match the quotes map keys.
This commit is contained in:
parent
71c541c65c
commit
80389375b5
|
@ -761,11 +761,12 @@ func testArchiveStr(t *testing.T, path string) []string {
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// we always quote map keys to be safe
|
||||||
func pushTFVars() []atlas.TFVar {
|
func pushTFVars() []atlas.TFVar {
|
||||||
return []atlas.TFVar{
|
return []atlas.TFVar{
|
||||||
{Key: "bar", Value: "foo", IsHCL: false},
|
{Key: "bar", Value: "foo", IsHCL: false},
|
||||||
{Key: "baz", Value: `{
|
{Key: "baz", Value: `{
|
||||||
A = "a"
|
"A" = "a"
|
||||||
}`, IsHCL: true},
|
}`, IsHCL: true},
|
||||||
{Key: "fob", Value: `["a", "quotes \"in\" quotes"]`, IsHCL: true},
|
{Key: "fob", Value: `["a", "quotes \"in\" quotes"]`, IsHCL: true},
|
||||||
{Key: "foo", Value: "bar", IsHCL: false},
|
{Key: "foo", Value: "bar", IsHCL: false},
|
||||||
|
|
Loading…
Reference in New Issue