mirror of
https://github.com/haraldh/chainerror.git
synced 2025-06-03 06:54:36 +02:00
make test pass with --all-features
This commit is contained in:
parent
241502de75
commit
935eb658cf
2 changed files with 30 additions and 1 deletions
|
@ -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#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue