Files
2026-08-20 18:47:29 -04:00

13 lines
248 B
Go

package styles
import "testing"
func TestRegistry(t *testing.T) {
if n := len(Names()); n < 60 {
t.Fatalf("only %d styles", n)
}
if Get("monokai") == Fallback() || Get("nope") != Fallback() {
t.Fatal("style lookup or fallback wrong")
}
}