mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-06 14:13:16 -06:00
fadcaaaad2
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_test.go | ||
diagnostic.go | ||
diff_test.go | ||
diff.go | ||
difflanguage_string.go | ||
format.go | ||
object_id_test.go | ||
object_id.go | ||
state_test.go | ||
state.go | ||
trivia.go |