style: 自动格式化

This commit is contained in:
爱特每羊队
2026-06-06 19:05:36 +08:00
parent a96b651feb
commit 33314265eb
6 changed files with 26 additions and 30 deletions
+6 -5
View File
@@ -186,7 +186,11 @@ fn run_test(path: &Path, source: &str, meta: &TestMeta) -> TestResult {
Ok(r) => r,
Err(_panic) => {
let dur = start.elapsed().as_millis() as u64;
TestResult::fail(path.to_path_buf(), dur, "engine panic (unsupported feature)")
TestResult::fail(
path.to_path_buf(),
dur,
"engine panic (unsupported feature)",
)
}
}
}
@@ -350,10 +354,7 @@ fn main() {
let source = match std::fs::read_to_string(path) {
Ok(s) => s,
Err(e) => {
results.push(TestResult::skip(
path.clone(),
format!("read error: {e}"),
));
results.push(TestResult::skip(path.clone(), format!("read error: {e}")));
stats.skip += 1;
continue;
}