diff --git a/proptest/CHANGELOG.md b/proptest/CHANGELOG.md index 20d626d3..351757d1 100644 --- a/proptest/CHANGELOG.md +++ b/proptest/CHANGELOG.md @@ -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 diff --git a/proptest/src/test_runner/failure_persistence/file.rs b/proptest/src/test_runner/failure_persistence/file.rs index 721f8cb8..8085c063 100644 --- a/proptest/src/test_runner/failure_persistence/file.rs +++ b/proptest/src/test_runner/failure_persistence/file.rs @@ -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 + ); } } }