Support 'auto' style to make it accessible by the Render(Bytes) helper function

This commit is contained in:
Christian Muehlhaeuser
2020-04-08 10:08:03 +02:00
parent ba2d2a0ec5
commit e6a28b4fba
2 changed files with 15 additions and 9 deletions
+7
View File
@@ -97,6 +97,13 @@ func TestStyles(t *testing.T) {
if err != nil {
t.Fatal(err)
}
_, err = NewTermRenderer(
WithStandardStyle("auto"),
)
if err != nil {
t.Fatal(err)
}
}
func TestRenderHelpers(t *testing.T) {