core: Fix TestContext2Apply_destroyNestedModule

Our string representation of state for testing now returns "<no state>"
when empty, rather than the empty string.
This commit is contained in:
Martin Atkins 2018-09-12 16:34:22 -07:00
parent 50b8053476
commit 5d3f642585
1 changed files with 1 additions and 1 deletions

View File

@ -6221,7 +6221,7 @@ func TestContext2Apply_destroyNestedModule(t *testing.T) {
// Test that things were destroyed
actual := strings.TrimSpace(state.String())
if actual != "" {
if actual != "<no state>" {
t.Fatalf("expected no state, got: %s", actual)
}
}