assert_panics_with_message
hydro_
lang
0.14.0
In hydro_
lang::
test_
util
hydro_lang
::
test_util
Function
assert_
panics_
with_
message
Copy item path
Source
pub fn assert_panics_with_message(func: impl
FnOnce
(), msg: &'static
str
)
Available on
crate feature
deploy
only.