Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed Jun 21, 2022
1 parent 3e304a4 commit c020cb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions hclsyntax/expression_vars_gen.go
Expand Up @@ -4,6 +4,7 @@
// just wraps the package-level function "Variables" and uses an AST walk
// to do its work.

//go:build ignore
// +build ignore

package main
Expand Down
8 changes: 4 additions & 4 deletions json/fuzz/fuzz_test.go
Expand Up @@ -7,14 +7,14 @@ import (
)

func FuzzParse(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte) {
_, diags := json.Parse(data, "<fuzz-conf>")
f.Fuzz(func(t *testing.T, data []byte) {
_, diags := json.Parse(data, "<fuzz-conf>")

if diags.HasErrors() {
if diags.HasErrors() {
t.Logf("Error when parsing JSON %v", data)
for _, diag := range diags {
t.Logf("- %s", diag.Error())
}
}
})
})
}

0 comments on commit c020cb9

Please sign in to comment.