File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ # 1.5.1
2+
3+ * Documentation improvements
4+
15# 1.5.0
26
37* Make the ` data ` from an ` ExpectFile ` accessible ([ #43 ] )
Original file line number Diff line number Diff line change 11[package ]
22name = " expect-test"
3- version = " 1.5.0 "
3+ version = " 1.5.1 "
44description = " Minimalistic snapshot testing library"
55keywords = [" snapshot" , " testing" , " expect" ]
66categories = [" development-tools::testing" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Updating a failing test:
77
88https://user-images.githubusercontent.com/1711539/120119633-73b3f100-c1a1-11eb-91be-4c61a23e7060.mp4
99
10- Adding a new test:
10+ Adding a new test: Just leave a blank ` expect![[""]] ` and update it:
1111
1212![ expect-fresh] ( https://user-images.githubusercontent.com/1711539/85926961-306f4500-b8a3-11ea-9369-f2373e327a3f.gif )
1313
Original file line number Diff line number Diff line change 113113//! # fn check(_: i32, _: Expect) {}
114114//! #[test]
115115//! fn test_division() {
116- //! check(92 / 2, expect![[]])
116+ //! check(92 / 2, expect![["" ]])
117117//! }
118118//! ```
119119//!
You can’t perform that action at this time.
0 commit comments