mirror of
https://github.com/opentofu/opentofu.git
synced 2026-06-09 08:33:23 -04:00
A previous change added missing quoting around object keys which do not parse as barewords. At the same time we introduced a bug where map keys could be double-quoted, due to calling the `displayAttributeName` helper function (to quote non-bareword keys) then using the `writeValue` method (which quotes all strings). This commit fixes this and adds test coverage for map keys which require quoting. |
||
|---|---|---|
| .. | ||
| diagnostic.go | ||
| diagnostic_test.go | ||
| diff.go | ||
| diff_test.go | ||
| difflanguage_string.go | ||
| format.go | ||
| object_id.go | ||
| object_id_test.go | ||
| state.go | ||
| state_test.go | ||
| trivia.go | ||