terraform/command/format
Kristin Laemmert 27a794062e Mildwonkey/command tests (#24535)
* command: refactor testBackendState to write states.State

testBackendState was using the older terraform.State format, which is no
longer sufficient for most tests since the state upgrader does not
encode provider FQNs automatically. Users will run `terraform
0.13upgrade` to update their state to include provider FQNs in
resources, but tests need to use the modern state format instead of
relying on the automatic upgrade.

* plan tests passing
* graph tests passing
* json packages test update
* command test updates
* update show test fixtures
* state show tests passing
2020-04-06 09:24:23 -07:00
..
diagnostic.go command/format: Fix multi-line diagnostic output 2020-03-26 15:53:52 -04:00
diagnostic_test.go command/format: Fix multi-line diagnostic output 2020-03-26 15:53:52 -04:00
diff.go Don't inspect an empty set, return false 2019-12-05 16:00:19 -05:00
diff_test.go finish provider ModuleInstance replacement 2020-03-11 14:19:52 -04:00
format.go
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
state.go Mildwonkey/command tests (#24535) 2020-04-06 09:24:23 -07:00
state_test.go finish provider ModuleInstance replacement 2020-03-11 14:19:52 -04:00