1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-19 21:10:15 +02:00

chore: unnecessary use of fmt.Sprintf ()

This commit is contained in:
guangwu 2023-07-10 16:42:13 +08:00 committed by GitHub
parent b9a63eb4f0
commit b8ad4d6cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>"
},
}