chore: include typename in assert (#13595)

This commit is contained in:
Matthias Seitz
2024-12-30 15:12:25 +01:00
committed by GitHub
parent 343bee568f
commit c2a57287ce

View File

@ -269,7 +269,7 @@ where
let (reconstructed, _) = T::from_compact(&compact_bytes, len_or_identifier);
reconstructed.to_compact(&mut buffer);
assert_eq!(buffer, compact_bytes);
assert_eq!(buffer, compact_bytes, "mismatch {}", type_name);
}
println!("");