try_reserve: disabling tests for asmjs, blocked by #48968

This commit is contained in:
snf
2018-03-13 03:41:45 -07:00
parent 92bfcd2b19
commit b08b5ae0ec
4 changed files with 22 additions and 2 deletions

View File

@@ -2755,8 +2755,11 @@ mod test_map {
use cell::RefCell;
use rand::{thread_rng, Rng};
use panic;
#[cfg(not(target_arch = "asmjs"))]
use realstd::collections::CollectionAllocErr::*;
#[cfg(not(target_arch = "asmjs"))]
use realstd::mem::size_of;
#[cfg(not(target_arch = "asmjs"))]
use realstd::usize;
#[test]
@@ -3693,6 +3696,7 @@ mod test_map {
assert_eq!(hm.len(), 0);
}
#[cfg(not(target_arch = "asmjs"))]
#[test]
fn test_try_reserve() {