referrerpolicy=no-referrer-when-downgrade

Macro frame_support::testing_prelude::assert_ok

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

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(()).