Skip to content

Commit

Permalink
print failed seed even if the regressions file exists (#347)
Browse files Browse the repository at this point in the history
* print failed seed even if the regressions file exists

* CHANGELOG: add #347
  • Loading branch information
tzemanovic authored Jul 29, 2023
1 parent 160c3d1 commit 8586d8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions proptest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Other Notes

- `regex-syntax` version 0.7 is now used.
- Print a seed to stderr for a failed test even when a regressions file is already present.

## 1.2.0

Expand Down
2 changes: 1 addition & 1 deletion proptest/src/test_runner/failure_persistence/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl FailurePersistence for FileFailurePersistence {
path.display(),
e
);
} else if is_new {
} else {
eprintln!(
"proptest: Saving this and future failures in {}\n\
proptest: If this test was run on a CI system, you may \
Expand Down

0 comments on commit 8586d8d

Please sign in to comment.