issue-10: fixed unit tests

This commit is contained in:
Leon Mika 2022-08-20 10:47:56 +10:00
parent 90ec88d360
commit 9ab5da32e2
3 changed files with 43 additions and 25 deletions

View file

@ -4,6 +4,10 @@ type StyleRenderer interface {
Render(str string) string
}
func PlainTextRenderer() StyleRenderer {
return plainTextStyleRenderer{}
}
type plainTextStyleRenderer struct{}
func (plainTextStyleRenderer) Render(str string) string {