hashicorp / hcl2

Former temporary home for experimental new version of HCL
https://github.com/hashicorp/hcl
Mozilla Public License 2.0
373 stars 66 forks source link

Add additional comment test cases #53

Closed paultyng closed 5 years ago

paultyng commented 5 years ago

Some of these fail in HCL1 fmt, specifically:

nested {
  foo = [
    # ...
  ]
}

All of these tests currently pass here, just wanted to ensure no regression.

paultyng commented 5 years ago

This doesn't increase coverage, so feel free to close, I mostly wrote it to sanity check the problems we had in HCL1.

paultyng commented 5 years ago

There was a missing module in the go.mod file used in tests as well.