Skip to main content

assert_buffer_snapshot

Function assert_buffer_snapshot 

Source
pub fn assert_buffer_snapshot(
    name: &str,
    buf: &Buffer,
    base_dir: &str,
    mode: MatchMode,
)
Expand description

Assert that a buffer’s text representation matches a stored snapshot.