Test integer128 impls

This commit is contained in:
David Tolnay committed 2018-05-20 22:17:35 -07:00
1 parent c17bc6c49c
commit 9083cf4b00
2 files changed
+28

No files matched your search

+7
View File
@@ -586,3 +586,10 @@ fn test_enum_skipped() {
"the enum variant Enum::SkippedMap cannot be serialized",
);
}
#[test]
fn test_integer128() {
assert_ser_tokens_error(&1i128, &[], "i128 is not supported");
assert_ser_tokens_error(&1u128, &[], "u128 is not supported");
}