Skip to content

Commit 14b4079

Browse files
committed
Sync monorepo state at 33a853f57e4139b4078617bc41a7dc75f3ba44be
1 parent dca32d0 commit 14b4079

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

genprovider/internal/apitypes/test_helper.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ func runTestProgram(t *testing.T, d data) {
203203
if err := temp.Execute(buf, d); err != nil {
204204
t.Fatalf("error executing template: %v", err)
205205
}
206-
bytes := buf.Bytes()
206+
bs := buf.Bytes()
207207

208-
formatted, err := format.Source(bytes)
208+
formatted, err := format.Source(bs)
209209
if err != nil {
210-
t.Fatalf("error formatting source: %v\n\n%s", err, string(bytes))
210+
t.Fatalf("error formatting source: %v\n\n%s", err, string(bs))
211211
}
212212

213213
outPath := dname + "/sampleprogram.go"

0 commit comments

Comments
 (0)