Fix problem in test on debian stable Rust.

This commit is contained in:
Heiko Schaefer 2021-09-01 22:35:26 +02:00
parent b6cc237f61
commit 84a7f0060d

View file

@ -145,7 +145,7 @@ mod test {
// check that after re-serializing, the data is still the same // check that after re-serializing, the data is still the same
let serialized = tlv.serialize(); let serialized = tlv.serialize();
assert_eq!(&serialized, &data[..]); assert_eq!(serialized, data.to_vec());
// outermost layer contains all bytes as value // outermost layer contains all bytes as value
let value = tlv.find(&[0x6e].into()).unwrap(); let value = tlv.find(&[0x6e].into()).unwrap();