diff options
| author | Ralf Jung <post@ralfj.de> | 2019-12-07 12:42:19 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-12-07 12:42:19 +0100 |
| commit | ca2ffe3a8030e0fb6593cb6905a371441a10a4e0 (patch) | |
| tree | 45b55f5202af5b3582b7f621ac937e1cb8d44dfa /src/liballoc/tests/vec_deque.rs | |
| parent | 7ba1232b5ea8f6ab011efe2ce3fb97d955342fdb (diff) | |
| download | rust-ca2ffe3a8030e0fb6593cb6905a371441a10a4e0.tar.gz rust-ca2ffe3a8030e0fb6593cb6905a371441a10a4e0.zip | |
liballoc: ignore tests in Miri instead of removing them entirely
Diffstat (limited to 'src/liballoc/tests/vec_deque.rs')
| -rw-r--r-- | src/liballoc/tests/vec_deque.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/tests/vec_deque.rs b/src/liballoc/tests/vec_deque.rs index 5a0162a5361..ebcc8320171 100644 --- a/src/liballoc/tests/vec_deque.rs +++ b/src/liballoc/tests/vec_deque.rs @@ -1100,7 +1100,7 @@ fn test_reserve_exact_2() { } #[test] -#[cfg(not(miri))] // Miri does not support signalling OOM +#[cfg_attr(miri, ignore)] // Miri does not support signalling OOM fn test_try_reserve() { // These are the interesting cases: // * exactly isize::MAX should never trigger a CapacityOverflow (can be OOM) @@ -1214,7 +1214,7 @@ fn test_try_reserve() { } #[test] -#[cfg(not(miri))] // Miri does not support signalling OOM +#[cfg_attr(miri, ignore)] // Miri does not support signalling OOM fn test_try_reserve_exact() { // This is exactly the same as test_try_reserve with the method changed. // See that test for comments. |
