referrerpolicy=no-referrer-when-downgrade

Macro frame_support::testing_prelude::assert_err

source ·
macro_rules! assert_err {
    ( $x:expr , $y:expr $(,)? ) => { ... };
}
Expand description

Assert an expression returns an error specified.

Used as assert_err!(expression_to_assert, expected_error_expression)