assert_inline_snapshot

Macro assert_inline_snapshot 

Source
macro_rules! assert_inline_snapshot {
    ($actual:expr, $expected:expr) => { ... };
}
Expand description

Inline snapshot assertion (snapshot embedded in test).

Unlike file-based snapshots, this embeds the expected value directly in the test source code. Useful for small, stable outputs.

§Example

use xerv_core::testing::assert_inline_snapshot;

let output = compute_something();
assert_inline_snapshot!(output, r#"{"result": 42}"#);