Skip to content

Commit 9e616f9

Browse files
authored
Merge pull request #53 from xxchan/xxchan/interim-tarantula
doc: update the recommended placeholder
2 parents 0eba05e + fc87d4e commit 9e616f9

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.5.1
2+
3+
* Documentation improvements
4+
15
# 1.5.0
26

37
* Make the `data` from an `ExpectFile` accessible ([#43])

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "expect-test"
3-
version = "1.5.0"
3+
version = "1.5.1"
44
description = "Minimalistic snapshot testing library"
55
keywords = ["snapshot", "testing", "expect"]
66
categories = ["development-tools::testing"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Updating a failing test:
77

88
https://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

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
//! # fn check(_: i32, _: Expect) {}
114114
//! #[test]
115115
//! fn test_division() {
116-
//! check(92 / 2, expect![[]])
116+
//! check(92 / 2, expect![[""]])
117117
//! }
118118
//! ```
119119
//!

0 commit comments

Comments
 (0)