mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Don't determine auto style on init
The automatic style configuration will now only be determined, when initialized with the WithAutoStyle renderer option.
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ func TestTermRenderer(t *testing.T) {
|
||||
|
||||
func TestStyles(t *testing.T) {
|
||||
_, err := NewTermRenderer(
|
||||
WithStandardStyle("auto"),
|
||||
WithAutoStyle(),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user