Skip to content

Commit

Permalink
rusftmt
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshikiTakashima committed Jun 22, 2023
1 parent 4ea895e commit 882ae88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proptest/src/test_runner/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ impl TestRunner {
test: impl Fn(S::Value) -> TestCaseResult,
) -> TestRunResult<S> {
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(())
}

Expand Down

0 comments on commit 882ae88

Please sign in to comment.