diff --git a/hcl/printer/printer_test.go b/hcl/printer/printer_test.go index 840add0..8ae747a 100644 --- a/hcl/printer/printer_test.go +++ b/hcl/printer/printer_test.go @@ -154,6 +154,7 @@ func TestFormatValidOutput(t *testing.T) { "#\x00", "#\ue123t", "x=//\n0y=<<_\n_\n", + "y=[1,//\n]", "Y=<<4\n4/\n\n\n/4/@=4/\n\n\n/4000000004\r\r\n00004\n", "x=<<_\n_\r\r\n_\n", "X=<<-\n\r\r\n",