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
+
1
5
# 1.5.0
2
6
3
7
* Make the ` data ` from an ` ExpectFile ` accessible ([ #43 ] )
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " expect-test"
3
- version = " 1.5.0 "
3
+ version = " 1.5.1 "
4
4
description = " Minimalistic snapshot testing library"
5
5
keywords = [" snapshot" , " testing" , " expect" ]
6
6
categories = [" development-tools::testing" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Updating a failing test:
7
7
8
8
https://user-images.githubusercontent.com/1711539/120119633-73b3f100-c1a1-11eb-91be-4c61a23e7060.mp4
9
9
10
- Adding a new test:
10
+ Adding a new test: Just leave a blank ` expect![[""]] ` and update it:
11
11
12
12
![ expect-fresh] ( https://user-images.githubusercontent.com/1711539/85926961-306f4500-b8a3-11ea-9369-f2373e327a3f.gif )
13
13
Original file line number Diff line number Diff line change 113
113
//! # fn check(_: i32, _: Expect) {}
114
114
//! #[test]
115
115
//! fn test_division() {
116
- //! check(92 / 2, expect![[]])
116
+ //! check(92 / 2, expect![["" ]])
117
117
//! }
118
118
//! ```
119
119
//!
You can’t perform that action at this time.
0 commit comments