A shepherd for your Appimages.
0

Configure Feed

Select the types of activity you want to include in your feed.

fmt

Aly Raffauf (Jun 17, 2026, 5:27 PM EDT) 4662baef eea48c1c

+2 -2
+2 -2
cmd/appherder/icons_test.go
··· 18 18 19 19 func TestResolveIconPrefersRootOverThemedEvenIfSmaller(t *testing.T) { 20 20 fsys := fstest.MapFS{ 21 - "app.png": {Data: []byte("x")}, // root, tiny png 21 + "app.png": {Data: []byte("x")}, // root, tiny png 22 22 "usr/share/icons/big.svg": {Data: []byte("a larger payload")}, // themed, higher format and larger 23 23 } 24 24 if got := resolveIcon(fsys); got != "app.png" { ··· 29 29 func TestResolveIconPrefersSvgWithinTier(t *testing.T) { 30 30 fsys := fstest.MapFS{ 31 31 "app.png": {Data: []byte("0123456789")}, // larger png 32 - "app.svg": {Data: []byte("s")}, // smaller, but higher format 32 + "app.svg": {Data: []byte("s")}, // smaller, but higher format 33 33 } 34 34 if got := resolveIcon(fsys); got != "app.svg" { 35 35 t.Fatalf("resolveIcon = %q, want app.svg", got)