mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-08 07:57:40 +00:00
serialize: Broaden ignores of json tests
It was thought that these failures only happened on windows, turns out they happen on any 32-bit machine. cc #14064
This commit is contained in:
parent
04c23d3fc1
commit
af00c57379
@ -3098,7 +3098,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore(cfg(windows))] // FIXME(#14064)
|
#[ignore(cfg(target_word_size = "32"))] // FIXME(#14064)
|
||||||
fn test_read_object_streaming() {
|
fn test_read_object_streaming() {
|
||||||
assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
|
assert_eq!(last_event("{ "), Error(SyntaxError(EOFWhileParsingObject, 1, 3)));
|
||||||
assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
|
assert_eq!(last_event("{1"), Error(SyntaxError(KeyMustBeAString, 1, 2)));
|
||||||
@ -3170,7 +3170,7 @@ mod tests {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore(cfg(windows))] // FIXME(#14064)
|
#[ignore(cfg(target_word_size = "32"))] // FIXME(#14064)
|
||||||
fn test_read_list_streaming() {
|
fn test_read_list_streaming() {
|
||||||
assert_stream_equal(
|
assert_stream_equal(
|
||||||
"[]",
|
"[]",
|
||||||
|
Loading…
Reference in New Issue
Block a user