Fix tests for messagepack

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/33/head
trivernis 3 years ago
parent 597b67eb75
commit 6ac3ac2459
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -11,7 +11,7 @@ use std::fmt::Debug;
fn it_serializes_messagepack() { fn it_serializes_messagepack() {
test_serialization::<BigTestPayload>(DynamicSerializer::Messagepack).unwrap(); test_serialization::<BigTestPayload>(DynamicSerializer::Messagepack).unwrap();
test_serialization::<AdjacentlyTaggedEnum>(DynamicSerializer::Messagepack).unwrap(); test_serialization::<AdjacentlyTaggedEnum>(DynamicSerializer::Messagepack).unwrap();
test_serialization::<u128>(DynamicSerializer::Messagepack).unwrap_err(); test_serialization::<u128>(DynamicSerializer::Messagepack).unwrap();
} }
#[cfg(feature = "serialize_bincode")] #[cfg(feature = "serialize_bincode")]

Loading…
Cancel
Save