Upgrade to rustfmt 0.8.3.
This commit is contained in:
@@ -26,7 +26,8 @@ pub fn run(path: &Path) -> TestResult {
|
||||
}
|
||||
|
||||
// Parse the test commands.
|
||||
let mut tests = testfile.commands
|
||||
let mut tests = testfile
|
||||
.commands
|
||||
.iter()
|
||||
.map(new_subtest)
|
||||
.collect::<Result<Vec<_>>>()?;
|
||||
@@ -116,7 +117,8 @@ fn run_one_test<'a>(tuple: (&'a SubTest, &'a Flags, Option<&'a TargetIsa>),
|
||||
|
||||
// Should we run the verifier before this test?
|
||||
if !context.verified && test.needs_verifier() {
|
||||
verify_function(&func, isa).map_err(|e| pretty_verifier_error(&func, e))?;
|
||||
verify_function(&func, isa)
|
||||
.map_err(|e| pretty_verifier_error(&func, e))?;
|
||||
context.verified = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user