tape: Fix TestEncodeDecodeAny using int instead of uint32

This commit is contained in:
Sasha Koshka 2025-07-05 19:14:25 -04:00
parent 1b82f2cd83
commit 0f20c4cdab

View File

@ -58,8 +58,8 @@ func TestEncodeAnyTable(test *testing.T) {
func TestEncodeDecodeAnyTable(test *testing.T) { func TestEncodeDecodeAnyTable(test *testing.T) {
err := testEncodeDecodeAny(test, map[uint16] any { err := testEncodeDecodeAny(test, map[uint16] any {
0xF3B9: 1, 0xF3B9: uint32(1),
0x0102: 2, 0x0102: uint32(2),
0x0000: []byte("hi!"), 0x0000: []byte("hi!"),
0xFFFF: []uint16 { 0xBEE5, 0x7777 }, 0xFFFF: []uint16 { 0xBEE5, 0x7777 },
0x1234: [][]uint16 { []uint16 { 0x5 }, []uint16 { 0x17, 0xAAAA} }, 0x1234: [][]uint16 { []uint16 { 0x5 }, []uint16 { 0x17, 0xAAAA} },