diff --git a/proptest/src/test_runner/runner.rs b/proptest/src/test_runner/runner.rs index 188ac5911078..bf44081208d3 100644 --- a/proptest/src/test_runner/runner.rs +++ b/proptest/src/test_runner/runner.rs @@ -231,7 +231,10 @@ impl TestRunner { test: impl Fn(S::Value) -> TestCaseResult, ) -> TestRunResult { let tree = strategy.new_tree(self).unwrap(); - assert!(matches!(test(tree.current()), Ok(_) | Err(TestCaseError::Reject(_)))); + assert!(matches!( + test(tree.current()), + Ok(_) | Err(TestCaseError::Reject(_)) + )); Ok(()) }