Skip to content

Commit

Permalink
chore: unnecessary use of fmt.Sprintf (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Jul 10, 2023
1 parent b9a63eb commit b8ad4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formatters/html/html_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func TestWithPreWrapper(t *testing.T) {
return fmt.Sprintf("<foo%s id=\"code-%t\">", styleAttr, code)
},
end: func(code bool) string {
return fmt.Sprintf("</foo>")
return "</foo>"
},
}

Expand Down

0 comments on commit b8ad4d6

Please sign in to comment.