1 2 3 4 5 6 7 8 9 10 11
//! `test_panic_hook` (spec 72 § 7) — `install_panic_hook` is //! idempotent and chains the prior hook. use obs_kit::install_panic_hook; #[test] fn test_install_panic_hook_should_be_idempotent() { install_panic_hook(); install_panic_hook(); install_panic_hook(); }