From babf33bafa46e298fd5750115f158171a5ee3160 Mon Sep 17 00:00:00 2001 From: alpaylan Date: Tue, 11 Feb 2025 14:15:00 -0500 Subject: [PATCH] fix formatting --- simulator/runner/cli.rs | 5 +---- simulator/runner/differential.rs | 9 ++++++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/simulator/runner/cli.rs b/simulator/runner/cli.rs index 6b0fd8091..a18c47212 100644 --- a/simulator/runner/cli.rs +++ b/simulator/runner/cli.rs @@ -49,10 +49,7 @@ pub struct SimulatorCLI { help = "enable watch mode that reruns the simulation on file changes" )] pub watch: bool, - #[clap( - long, - help = "run differential testing between sqlite and Limbo" - )] + #[clap(long, help = "run differential testing between sqlite and Limbo")] pub differential: bool, } diff --git a/simulator/runner/differential.rs b/simulator/runner/differential.rs index a14aeeb22..bfadc5687 100644 --- a/simulator/runner/differential.rs +++ b/simulator/runner/differential.rs @@ -173,7 +173,14 @@ pub(crate) fn execute_plans( last_execution.interaction_index = state.interaction_pointer; last_execution.secondary_index = state.secondary_pointer; // Execute the interaction for the selected connection - match execute_plan(&mut env, &mut rusqlite_env, connection_index, plans, states, rusqlite_states) { + match execute_plan( + &mut env, + &mut rusqlite_env, + connection_index, + plans, + states, + rusqlite_states, + ) { Ok(_) => {} Err(err) => { return ExecutionResult::new(history, Some(err));