referrerpolicy=no-referrer-when-downgrade

Macro polkadot_sdk_frame::testing_prelude::assert_ok

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

Other helper macros from frame_support that help with asserting in tests. Panic if an expression doesn’t evaluate to Ok.

Used as assert_ok!(expression_to_assert, expected_ok_expression), or assert_ok!(expression_to_assert) which would assert against Ok(()).