core: Fix TestContext2Apply_resourceCountZeroList

The new state stringer only writes <no state> if the entire state is nil,
rather than when its list of resources is empty.
This commit is contained in:
Martin Atkins 2018-09-11 14:27:41 -07:00
parent 0a97daf3de
commit 6b1430a2b3
1 changed files with 1 additions and 2 deletions

View File

@ -217,8 +217,7 @@ func TestContext2Apply_resourceCountZeroList(t *testing.T) {
}
got := strings.TrimSpace(state.String())
want := strings.TrimSpace(`<no state>
Outputs:
want := strings.TrimSpace(`Outputs:
test = []`)
if got != want {