mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-19 21:10:15 +02:00
chore: unnecessary use of fmt.Sprintf (#799)
This commit is contained in:
parent
b9a63eb4f0
commit
b8ad4d6cab
@ -276,7 +276,7 @@ func TestWithPreWrapper(t *testing.T) {
|
|||||||
return fmt.Sprintf("<foo%s id=\"code-%t\">", styleAttr, code)
|
return fmt.Sprintf("<foo%s id=\"code-%t\">", styleAttr, code)
|
||||||
},
|
},
|
||||||
end: func(code bool) string {
|
end: func(code bool) string {
|
||||||
return fmt.Sprintf("</foo>")
|
return "</foo>"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user