oden/third-party/vendor/eyre/tests/test_context_access.rs
2024-03-08 11:03:01 -08:00

13 lines
226 B
Rust

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();
}