pub fn assert_panics_with_message(func: impl FnOnce(), msg: &'static str)
deploy
Asserts that running the given closure results in a panic with a message containing msg.
msg