diff --git a/hcl/printer/printer_test.go b/hcl/printer/printer_test.go index f39eddab..15a4754c 100644 --- a/hcl/printer/printer_test.go +++ b/hcl/printer/printer_test.go @@ -153,6 +153,8 @@ 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", + "x=<<_\n_\r\r\n_\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 = [< pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy