From bcb8a02ee967b7279c702f5ac187aee1768a672f Mon Sep 17 00:00:00 2001 From: Francisco Lopez Date: Mon, 11 Nov 2024 17:55:41 +0100 Subject: [PATCH] do not print minimal failing input on display --- proptest/src/test_runner/errors.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/proptest/src/test_runner/errors.rs b/proptest/src/test_runner/errors.rs index bf17f201..8f6eca11 100644 --- a/proptest/src/test_runner/errors.rs +++ b/proptest/src/test_runner/errors.rs @@ -114,10 +114,7 @@ impl fmt::Display for TestError { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self { TestError::Abort(ref why) => write!(f, "Test aborted: {}", why), - TestError::Fail(ref why, ref what) => { - writeln!(f, "Test failed: {}.", why)?; - write!(f, "minimal failing input: {:#?}", what) - } + TestError::Fail(ref why, ref _what) => write!(f, "Test failed: {}.", why), } } }