Fix err test

This commit is contained in:
Pam Selle 2019-10-23 14:04:39 -04:00
parent 8f04ab3eaf
commit 90ecd17bd5
1 changed files with 1 additions and 1 deletions

View File

@ -2079,7 +2079,7 @@ func TestContext2Apply_provisionerDestroyForEach(t *testing.T) {
if diags == nil {
t.Fatal("should error")
}
if !strings.Contains(diags.Err().Error(), "each.value is unknown and cannot be used in this context") {
if !strings.Contains(diags.Err().Error(), "each.value cannot be used in this context") {
t.Fatal("unexpected error:", diags.Err())
}
}