hcl/zclwrite
Martin Atkins 1565d4f906 zclwrite: formatting round-trip test
The existing round trip test was testing that we can pass through a set
of tokens through the AST entirely unmodified.

This new round-trip test passes the source through the Format function
and then checks that it has the same semantics, by evaluating it both
before and after and expecting an identical set of values.
2017-06-10 14:14:01 -07:00
..
ast.go zclwrite: start to stub out the mutation API 2017-06-09 08:31:14 -07:00
doc.go zclwrite: stub of zcl code generation package 2017-05-29 16:05:34 -07:00
format_test.go zclwrite: "format" implementation 2017-06-10 14:11:47 -07:00
format.go zclwrite: "format" implementation 2017-06-10 14:11:47 -07:00
native_node_sorter.go zclwrite: foundations of the writer parser 2017-06-06 08:53:13 -07:00
parser_test.go zclsyntax: require newlines after block items 2017-06-09 08:19:47 -07:00
parser.go zclwrite: consume trailing line comments and newlines in body items 2017-06-09 08:00:38 -07:00
public.go zclwrite: Rename "Parse" to "ParseConfig" 2017-06-07 08:28:43 -07:00
round_trip_test.go zclwrite: formatting round-trip test 2017-06-10 14:14:01 -07:00
tokens.go zclwrite: "format" implementation 2017-06-10 14:11:47 -07:00