Include 128-bit integers in test suite unconditionally

This commit is contained in:
David Tolnay 2022-01-20 15:45:07 -08:00
parent 55a7cedd73
commit ec7ddc93cd
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 0 additions and 3 deletions

View File

@ -290,7 +290,6 @@ declare_tests! {
0f32 => &[Token::F32(0.)], 0f32 => &[Token::F32(0.)],
0f64 => &[Token::F64(0.)], 0f64 => &[Token::F64(0.)],
} }
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
test_small_int_to_128 { test_small_int_to_128 {
1i128 => &[Token::I8(1)], 1i128 => &[Token::I8(1)],
1i128 => &[Token::I16(1)], 1i128 => &[Token::I16(1)],

View File

@ -662,7 +662,6 @@ fn test_enum_skipped() {
); );
} }
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
#[test] #[test]
fn test_integer128() { fn test_integer128() {
assert_ser_tokens_error(&1i128, &[], "i128 is not supported"); assert_ser_tokens_error(&1i128, &[], "i128 is not supported");

View File

@ -19,7 +19,6 @@ fn test_u32_to_enum() {
assert_eq!(E::B, e); assert_eq!(E::B, e);
} }
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
#[test] #[test]
fn test_integer128() { fn test_integer128() {
let de_u128 = IntoDeserializer::<value::Error>::into_deserializer(1u128); let de_u128 = IntoDeserializer::<value::Error>::into_deserializer(1u128);