mirror of
https://github.com/alecthomas/chroma.git
synced 2025-10-08 22:52:04 +02:00
chore: unnecessary use of fmt.Sprintf (#799)
This commit is contained in:
@@ -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>"
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user