We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f962c9 commit d473f9aCopy full SHA for d473f9a
pkg/gui/presentation/icons/file_icons_test.go
@@ -0,0 +1,21 @@
1
+package icons
2
+
3
+import (
4
+ "testing"
5
+)
6
7
+func TestFileIcons(t *testing.T) {
8
+ t.Run("TestFileIcons", func(t *testing.T) {
9
+ for name, icon := range nameIconMap {
10
+ if len([]rune(icon.Icon)) != 1 {
11
+ t.Errorf("nameIconMap[\"%s\"] is not a single rune", name)
12
+ }
13
14
15
+ for ext, icon := range extIconMap {
16
17
+ t.Errorf("extIconMap[\"%s\"] is not a single rune", ext)
18
19
20
+ })
21
+}
0 commit comments