diff --git a/hcl/printer/printer_test.go b/hcl/printer/printer_test.go index f39eddab..a00a8257 100644 --- a/hcl/printer/printer_test.go +++ b/hcl/printer/printer_test.go @@ -153,6 +153,7 @@ func TestFormatValidOutput(t *testing.T) { cases := []string{ "#\x00", "#\ue123t", + "Y=<<4\n4/\n\n\n/4/@=4/\n\n\n/4000000004\r\r\n00004\n", } for _, c := range cases { diff --git a/hcl/printer/testdata/object_with_heredoc.golden b/hcl/printer/testdata/object_with_heredoc.golden index 7e92243f..a271d289 100644 --- a/hcl/printer/testdata/object_with_heredoc.golden +++ b/hcl/printer/testdata/object_with_heredoc.golden @@ -1,6 +1,7 @@ obj { foo = [<