referrerpolicy=no-referrer-when-downgrade

Macro polkadot_sdk_frame::testing_prelude::assert_err

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

Other helper macros from frame_support that help with asserting in tests. Assert an expression returns an error specified.

Used as assert_err!(expression_to_assert, expected_error_expression)