Foundation: tokens, theme, icons, i18n, Button, Spinner, gallery scaffold
This commit is contained in:
95 files changed
+2489
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package icons
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestIconsParse(t *testing.T) {
|
||||
if len(Names()) < 60 {
|
||||
t.Fatalf("got %d icons", len(Names()))
|
||||
}
|
||||
if _, ok := Get("check"); !ok {
|
||||
t.Fatal("check missing")
|
||||
}
|
||||
if _, ok := Get("nope"); ok {
|
||||
t.Fatal("unknown name found")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user