Add failing format example
This commit is contained in:
parent
8fa153c5b4
commit
29ca4441dd
@ -34,6 +34,7 @@ var data = []entry{
|
||||
{"comment.input", "comment.golden"},
|
||||
{"comment_aligned.input", "comment_aligned.golden"},
|
||||
{"comment_array.input", "comment_array.golden"},
|
||||
{"comment_multiline_stanza.input", "comment_multiline_stanza.golden"},
|
||||
{"comment_newline.input", "comment_newline.golden"},
|
||||
{"comment_standalone.input", "comment_standalone.golden"},
|
||||
{"empty_block.input", "empty_block.golden"},
|
||||
|
10
hcl/printer/testdata/comment_multiline_stanza.golden
vendored
Normal file
10
hcl/printer/testdata/comment_multiline_stanza.golden
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
# This is a multiline comment
|
||||
# That has values like this:
|
||||
#
|
||||
# ami-abcd1234
|
||||
#
|
||||
# Do not delete this comment
|
||||
|
||||
resource "aws_instance" "web" {
|
||||
ami_id = "ami-abcd1234"
|
||||
}
|
10
hcl/printer/testdata/comment_multiline_stanza.input
vendored
Normal file
10
hcl/printer/testdata/comment_multiline_stanza.input
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
# This is a multiline comment
|
||||
# That has values like this:
|
||||
#
|
||||
# ami-abcd1234
|
||||
#
|
||||
# Do not delete this comment
|
||||
|
||||
resource "aws_instance" "web" {
|
||||
ami_id = "ami-abcd1234"
|
||||
}
|
Loading…
Reference in New Issue
Block a user