rlp: fix mismatch in Decode test message (new(uint) vs new(int))

This commit is contained in:
Forostovec 2025-09-08 20:58:31 +03:00 committed by GitHub
parent b381804eb1
commit e9dd95744d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -350,7 +350,7 @@ func TestDecodeErrors(t *testing.T) {
}
if err := Decode(r, new(uint)); err != io.EOF {
t.Errorf("Decode(r, new(int)) error mismatch, got %q, want %q", err, io.EOF)
t.Errorf("Decode(r, new(uint)) error mismatch, got %q, want %q", err, io.EOF)
}
}