mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 08:57:14 -04:00
feat: use (exported) consts for default styles (#232)
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ const (
|
||||
|
||||
func TestTermRendererWriter(t *testing.T) {
|
||||
r, err := NewTermRenderer(
|
||||
WithStandardStyle("dark"),
|
||||
WithStandardStyle(DarkStyle),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -152,7 +152,7 @@ func TestStyles(t *testing.T) {
|
||||
}
|
||||
|
||||
_, err = NewTermRenderer(
|
||||
WithStandardStyle("auto"),
|
||||
WithStandardStyle(AutoStyle),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user