diff options
| author | Ralf Jung <post@ralfj.de> | 2019-02-13 13:25:46 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-02-13 18:21:13 +0100 |
| commit | e24af6c2b32679e398b2a2b1bc81ab9c258d8765 (patch) | |
| tree | 6b500a70c062930b00be2b774aea09bec0c0257e /src/libcore/tests | |
| parent | 72be9a607bd127cdd5cdb3f1f53af725f4eeef98 (diff) | |
| download | rust-e24af6c2b32679e398b2a2b1bc81ab9c258d8765.tar.gz rust-e24af6c2b32679e398b2a2b1bc81ab9c258d8765.zip | |
the formatting issue got fixed
Diffstat (limited to 'src/libcore/tests')
| -rw-r--r-- | src/libcore/tests/fmt/builders.rs | 1 | ||||
| -rw-r--r-- | src/libcore/tests/fmt/mod.rs | 4 | ||||
| -rw-r--r-- | src/libcore/tests/time.rs | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/tests/fmt/builders.rs b/src/libcore/tests/fmt/builders.rs index fd7192cc151..391250f9986 100644 --- a/src/libcore/tests/fmt/builders.rs +++ b/src/libcore/tests/fmt/builders.rs @@ -488,6 +488,7 @@ mod debug_list { } #[test] +#[cfg(not(miri))] // FIXME uses code in liballoc, investigate Stacked Borrows failure fn test_formatting_parameters_are_forwarded() { use std::collections::{BTreeMap, BTreeSet}; #[derive(Debug)] diff --git a/src/libcore/tests/fmt/mod.rs b/src/libcore/tests/fmt/mod.rs index 3baa445e652..df1deeaeb97 100644 --- a/src/libcore/tests/fmt/mod.rs +++ b/src/libcore/tests/fmt/mod.rs @@ -1,10 +1,9 @@ -#![cfg(not(miri))] // FIXME: A bug in Miri breaks padding in string formatting - mod builders; mod float; mod num; #[test] +#[cfg(not(miri))] // Miri cannot print pointers fn test_format_flags() { // No residual flags left by pointer formatting let p = "".as_ptr(); @@ -14,6 +13,7 @@ fn test_format_flags() { } #[test] +#[cfg(not(miri))] // Miri cannot print pointers fn test_pointer_formats_data_pointer() { let b: &[u8] = b""; let s: &str = ""; diff --git a/src/libcore/tests/time.rs b/src/libcore/tests/time.rs index f7d00304df5..09aae458348 100644 --- a/src/libcore/tests/time.rs +++ b/src/libcore/tests/time.rs @@ -287,7 +287,6 @@ fn debug_formatting_precision_two() { } #[test] -#[cfg(not(miri))] // FIXME: A bug in Miri breaks padding in string formatting fn debug_formatting_precision_high() { assert_eq!(format!("{:.5?}", Duration::new(0, 23_678)), "23.67800µs"); |
