Macro assert_call::call

source ·
macro_rules! call {
    ($($id:tt)*) => { ... };
}
Expand description

Record the call.

The argument is the call ID with the same format as std::format.

§Examples

use assert_call::call;
let c = assert_call::CallRecorder::new_local();

call!("1");
call!("{}-{}", 1, 2);