diff --git a/crates/ide-plugin/tests/fixtures/execution-output/src/lib.rs b/crates/ide-plugin/tests/fixtures/execution-output/src/lib.rs index 4d55427f7..6870c7dc5 100644 --- a/crates/ide-plugin/tests/fixtures/execution-output/src/lib.rs +++ b/crates/ide-plugin/tests/fixtures/execution-output/src/lib.rs @@ -16,12 +16,8 @@ impl Plugin for ExecutionOutput { _ => None, }; let debug = parts.next() == Some("debug"); - host::start_run_with_options( - config, - &["extra".into()], - &RunStartOptions { debug, output_mode: mode }, - ) - .map(Some) + host::start_run_with_options(config, &["extra".into()], &RunStartOptions { debug, output_mode: mode }) + .map(Some) } "start-legacy" => host::start_run(arg.unwrap_or("pty-default"), &["legacy".into()], false).map(Some), "events" => host::storage::get("events"), @@ -30,10 +26,8 @@ impl Plugin for ExecutionOutput { } fn handle_events(&mut self, events: &[Event], _: &Invocation) { - let mut received: Vec = host::storage::get("events") - .unwrap() - .and_then(|s| serde_json::from_str(&s).ok()) - .unwrap_or_default(); + let mut received: Vec = + host::storage::get("events").unwrap().and_then(|s| serde_json::from_str(&s).ok()).unwrap_or_default(); for event in events { if let Event::Other { kind, data } = event { received.push(serde_json::json!({"kind": kind, "data": data})); diff --git a/crates/ide-workspace/src/settings.rs b/crates/ide-workspace/src/settings.rs index ba2a6d9f8..b28e82be3 100644 --- a/crates/ide-workspace/src/settings.rs +++ b/crates/ide-workspace/src/settings.rs @@ -1000,6 +1000,7 @@ mod tests { "reformat": false, "optimizeImports": false, "cleanup": false, + "fixOnCommit": false, "blankLineAfterSubject": true, "limitSubject": true, "subjectLimit": 72,