Run test suite on asmjs

This commit is contained in:
David Tolnay
2018-09-15 15:14:56 -07:00
parent 2cf10a6003
commit f1e8dcf38e
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ declare_tests! {
0f32 => &[Token::F32(0.)],
0f64 => &[Token::F64(0.)],
}
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
test_small_int_to_128 {
1i128 => &[Token::I8(1)],
1i128 => &[Token::I16(1)],
+1 -1
View File
@@ -618,7 +618,7 @@ fn test_enum_skipped() {
);
}
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
#[test]
fn test_integer128() {
assert_ser_tokens_error(&1i128, &[], "i128 is not supported");
+1 -1
View File
@@ -26,7 +26,7 @@ fn test_u32_to_enum() {
assert_eq!(E::B, e);
}
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(any(target_arch = "asmjs", target_arch = "wasm32")))]
#[test]
fn test_integer128() {
let de_u128 = IntoDeserializer::<value::Error>::into_deserializer(1u128);