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:
parent
0a97daf3de
commit
6b1430a2b3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue