Files
opentf/command
Martin Atkins 7db2825646 command/format: multi-line rendering for unchanged strings
We have a special treatment for multi-line strings that are being updated
in-place where we show them across multiple lines in the plan output, but
we didn't use that same treatment for rendering multi-line strings in
isolation such as when they are being added for the first time.

Here we detect when we're rendering a multi-line string in a no-change
situation and render it using the diff renderer instead, using the same
value for old and new and thus producing a multi-line result without any
diff markers at all.

This improves consistency between the change and no-change cases, and
makes multi-line strings (such as YAML in block mode) readable in all
cases.
2019-11-07 15:25:40 -08:00
..
2019-08-06 19:58:58 -04:00
2015-04-29 13:07:13 -05:00
2019-06-18 17:15:59 -04:00
2018-10-16 19:14:11 -07:00
2019-07-18 16:11:41 -04:00
2018-10-16 18:24:47 -07:00
2014-05-24 12:04:43 -07:00