insta 0.4.0

A snapshot testing library for Rust
Documentation
extern crate insta;

use insta::{assert_debug_snapshot_matches, assert_serialized_snapshot_matches};

#[test]
fn test_vector() {
    assert_debug_snapshot_matches!("vector", vec![1, 2, 3]);
}

#[test]
fn test_serialized_vector() {
    assert_serialized_snapshot_matches!("serialized_vector", vec![1, 2, 3]);
}