1 2 3 4 5 6 7 8 9 10 11 12 13
mod common; use crate::common::maybe_install_handler; #[test] fn test_context() { use eyre::{eyre, Report}; maybe_install_handler().unwrap(); let error: Report = eyre!("oh no!"); let _ = error.context(); }