Skip to content

Commit c020cb9

Browse files
committed
go fmt
1 parent 3e304a4 commit c020cb9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

hclsyntax/expression_vars_gen.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// just wraps the package-level function "Variables" and uses an AST walk
55
// to do its work.
66

7+
//go:build ignore
78
// +build ignore
89

910
package main

json/fuzz/fuzz_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import (
77
)
88

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

13-
if diags.HasErrors() {
13+
if diags.HasErrors() {
1414
t.Logf("Error when parsing JSON %v", data)
1515
for _, diag := range diags {
1616
t.Logf("- %s", diag.Error())
1717
}
1818
}
19-
})
19+
})
2020
}

0 commit comments

Comments
 (0)