Skip to content

Commit

Permalink
hcl/printer: verify list element with one heredoc is formatted properly
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jan 25, 2017
1 parent 39fa3a6 commit 8c0b1f0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hcl/printer/testdata/list.golden
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ two
EOS
,
]

foo = [
<<EOS
one
EOS
,
]
6 changes: 6 additions & 0 deletions hcl/printer/testdata/list.input
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ two
EOS
,
]

foo = [
<<EOS
one
EOS
]

0 comments on commit 8c0b1f0

Please sign in to comment.