Skip to content

Commit 7cc5bf6

Browse files
Copilotdavidgamero
andcommitted
fix: Replace fmt.Printf with fmt.Print in validatetemplate.go
Co-authored-by: davidgamero <[email protected]>
1 parent 7b753ab commit 7cc5bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fixtures/validatetemplate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func ValidateContentAgainstFixture(generatedContent []byte, fixturePath string)
2020
if normalizeWhitespace(want) != normalizeWhitespace(got) {
2121
if diff := cmp.Diff(string(want), string(got)); diff != "" {
2222
fmt.Println("Diff for file ", fixturePath, " (-want +got)")
23-
fmt.Printf(diff)
23+
fmt.Print(diff)
2424
return fmt.Errorf("generated content does not match fixture for file %s, check above for rich diff", fixturePath)
2525
}
2626

0 commit comments

Comments
 (0)