Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions proptest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Unreleased

### Other Notes

- When using failure persistence the shrunken case is now also output to stderr

## 1.10.0

### Breaking Changes
Expand Down
6 changes: 4 additions & 2 deletions proptest/src/test_runner/failure_persistence/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,12 @@ impl FailurePersistence for FileFailurePersistence {
"proptest: Saving this and future failures in {}\n\
proptest: If this test was run on a CI system, you may \
wish to add the following line to your copy of the file.{}\n\
{}",
{} # shrinks to {:?}",
path.display(),
if is_new { " (You may need to create it.)" } else { "" },
seed);
seed,
shrunken_value
);
}
}
}
Expand Down