pulumi/pkg/backend/display/testdata
Fraser Waters dd35a2a94f Fix diff display partially parsing JSON/YAML
Fixes https://github.com/pulumi/pulumi/issues/10312

When attempting to decode a string property value as JSON or YAML the
decoder would return a partial parse as valid. This resulted in strings
like "{} stuff" being reported as an empty JSON object, rather than the
literal string "{} stuff".

This also fixes the decoder to ignore whitespace around the value so for
example "   [1, 2]   " is now treated as a JSON array, not a string
literal.
2023-06-22 09:31:10 +01:00
..
not-truncated Fix diff display partially parsing JSON/YAML 2023-06-22 09:31:10 +01:00
truncated Don't use printf without a fixed format string 2023-06-21 11:44:06 +01:00
.gitattributes [cli] Refactor the diff printer. (#9367) 2022-04-09 16:04:35 -07:00