Skip to content

Commit

Permalink
feat: improve object/function list fmt (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
katcipis committed Jun 16, 2022
1 parent 4957232 commit 8e49f6e
Show file tree
Hide file tree
Showing 9 changed files with 651 additions and 87 deletions.
283 changes: 200 additions & 83 deletions hcl/fmt.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions hcl/fmt_fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ func FuzzFormatMultiline(f *testing.F) {
`"${global.obj}"`,
`"${global.list} fail`,
`{}`,
`{a=[]}`,
`[{}]`,
`[{a=666}]`,
`[[]]`,
`10`,
`"test"`,
Expand Down

0 comments on commit 8e49f6e

Please sign in to comment.