1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#[macro_export]
#[doc(hidden)]
#[deprecated(since = "0.6.0", note = "Replaced by assert_yaml_snapshot")]
macro_rules! assert_serialized_snapshot_matches {
($($t:tt)*) => { $crate::assert_serialized_snapshot!($($t)*); }
}
#[macro_export]
#[deprecated(since = "0.11.0", note = "Replaced by assert_yaml_snapshot")]
macro_rules! assert_yaml_snapshot_matches {
($($t:tt)*) => { $crate::assert_yaml_snapshot!($($t)*); }
}
#[macro_export]
#[cfg(feature = "ron")]
#[deprecated(since = "0.11.0", note = "Replaced by assert_ron_snapshot")]
macro_rules! assert_ron_snapshot_matches {
($($t:tt)*) => { $crate::assert_ron_snapshot!($($t)*); }
}
#[macro_export]
#[cfg(not(feature = "ron"))]
#[doc(hidden)]
#[deprecated(since = "0.11.0", note = "Replaced by assert_ron_snapshot")]
macro_rules! assert_ron_snapshot_matches {
($($t:tt)*) => {
compile_error!(
"insta was compiled without ron support. Enable the ron feature to reactivate it."
);
};
}
#[macro_export]
#[deprecated(since = "0.11.0", note = "Replaced by assert_json_snapshot")]
macro_rules! assert_json_snapshot_matches {
($($t:tt)*) => { $crate::assert_json_snapshot!($($t)*); }
}
#[macro_export]
#[deprecated(since = "0.11.0", note = "Replaced by assert_debug_snapshot")]
macro_rules! assert_debug_snapshot_matches {
($($t:tt)*) => { $crate::assert_debug_snapshot!($($t)*); }
}
#[macro_export]
#[deprecated(since = "0.11.0", note = "Replaced by assert_display_snapshot")]
macro_rules! assert_display_snapshot_matches {
($($t:tt)*) => { $crate::assert_display_snapshot!($($t)*); }
}
#[macro_export]
#[deprecated(since = "0.11.0", note = "Replaced by assert_snapshot")]
macro_rules! assert_snapshot_matches {
($($t:tt)*) => { $crate::assert_snapshot!($($t)*); }
}