diff options
Diffstat (limited to 'src/liballoc/tests/string.rs')
| -rw-r--r-- | src/liballoc/tests/string.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/tests/string.rs b/src/liballoc/tests/string.rs index 55edf56345b..fe7b4ff24b8 100644 --- a/src/liballoc/tests/string.rs +++ b/src/liballoc/tests/string.rs @@ -523,7 +523,7 @@ fn test_reserve_exact() { } #[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: @@ -601,7 +601,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. |
