hcl/gohcl
Martin Atkins 75cceef4f0 gohcl: don't reflect.DeepEqual number values in tests
big.Float is not DeepEqual-friendly because it contains a precision value
that can make two numerically-equal values appear as non-equal.

Since the number decoding isn't the point of these tests, instead we just
swap out for cty.Bool values which _are_ compatible with
reflect.DeepEqual, since they are just wrappers around the native bool
type.
2018-02-27 07:53:20 -08:00
..
decode_test.go gohcl: don't reflect.DeepEqual number values in tests 2018-02-27 07:53:20 -08:00
decode.go gohcl: Decode missing hcl.Expression as a cty Null 2017-09-20 16:23:23 -07:00
doc.go gohcl: rename struct tag prefix from "zcl:" to "hcl:" 2017-09-11 17:29:56 -07:00
schema_test.go gohcl: allow optional attributes to be specified via struct tag 2018-02-17 10:36:04 -08:00
schema.go gohcl: allow optional attributes to be specified via struct tag 2018-02-17 10:36:04 -08:00
types.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00