fix: png now 2080

This commit is contained in:
2026-06-08 19:39:27 +02:00
parent 55322dc7bf
commit 1a33c4e102
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ func TestExtensionMappingsKeep2DAAndTLKDistinct(t *testing.T) {
}
func TestHAKResourceTypeForExtensionSupportsPNG(t *testing.T) {
if resourceType, ok := HAKResourceTypeForExtension("png"); !ok || resourceType != 0x083E {
t.Fatalf("expected png to stay valid for HAK generation, got ok=%v type=0x%04X", ok, resourceType)
if resourceType, ok := HAKResourceTypeForExtension("png"); !ok || resourceType != 0x0820 {
t.Fatalf("expected png restype 0x0820 (2080) for HAK generation, got ok=%v type=0x%04X", ok, resourceType)
}
if resourceType, ok := HAKResourceTypeForExtension("2da"); !ok || resourceType != 0x07E1 {
t.Fatalf("expected 2da to stay valid for HAK generation, got ok=%v type=0x%04X", ok, resourceType)