mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 19:52:49 -06:00
cb26cbba22
Alas, there's not a very good way to test the message we're supposed to print to the console in this situation; we just don't appear to have a mock terminal that the test can read from. But we can at least test that the function returns without erroring under the exact conditions where it was erroring before. Note that the behaviors of mc.Workspaces.Update and UpdateByID were already starting to drift, so I consolidated their actual attribute update logic into a helper function before they drifted much further. |
||
---|---|---|
.. | ||
e2e | ||
testdata | ||
backend_apply_test.go | ||
backend_apply.go | ||
backend_cli.go | ||
backend_colorize.go | ||
backend_common.go | ||
backend_context_test.go | ||
backend_context.go | ||
backend_plan_test.go | ||
backend_plan.go | ||
backend_refresh_test.go | ||
backend_state_test.go | ||
backend_state.go | ||
backend_test.go | ||
backend.go | ||
cloud_variables_test.go | ||
cloud_variables.go | ||
errors.go | ||
remote_test.go | ||
testing.go | ||
tfe_client_mock.go | ||
versioning.go |