make test pass with --all-features

This commit is contained in:
Harald Hoyer 2020-06-03 14:41:42 +02:00
parent 241502de75
commit 935eb658cf
Signed by: harald
GPG key ID: 900F3C4971086004
2 changed files with 30 additions and 1 deletions

View file

@ -49,6 +49,7 @@
//! }
//!
//! if let Err(e) = func1() {
//! # #[cfg(not(feature = "no-debug-cause"))]
//! #[cfg(not(windows))]
//! assert_eq!(
//! format!("\n{:?}\n", e),
@ -143,6 +144,7 @@
//! eprintln!("\nThe root cause was: std::io::Error: {:#?}", io_error);
//! }
//!
//! # #[cfg(not(feature = "no-debug-cause"))]
//! #[cfg(not(windows))]
//! assert_eq!(
//! format!("\n{:?}\n", e),
@ -848,6 +850,7 @@ macro_rules! cherr {
/// }
///
/// # if let Err(e) = func1() {
/// # #[cfg(not(feature = "no-debug-cause"))]
/// # #[cfg(not(windows))]
/// # assert_eq!(
/// # format!("\n{:?}\n", e), r#"