fix the providerWithLocals test

This test was set to fail once this issue was fixed, and now it's fixed.
This commit is contained in:
James Bardin 2017-10-02 16:21:37 -04:00
parent 3c2b3df5a9
commit 3ed7b1abec
1 changed files with 1 additions and 2 deletions

View File

@ -8928,8 +8928,7 @@ func TestContext2Apply_providerWithLocals(t *testing.T) {
// Destroy won't work because the local value is removed before the
// provider. Once this is fixed this test will start to fail, and we
// can remove the invalid interpolation string;
// if providerRegion != "bar" {
if providerRegion != "${local.foo}" {
if providerRegion != "bar" {
t.Fatalf("expected region %q, got: %q", "bar", providerRegion)
}
}