Skip to content

Commit 8aedf29

Browse files
committed
chore: pacify the merciless fmt
1 parent d55bf47 commit 8aedf29

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

tests/integration_tests.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,11 @@ async fn test_command_wrapper_transforms_command() {
276276
// Use a command wrapper that replaces the agent command with `echo`
277277
let agent = Acpr::new("claude-acp").with_command_wrapper(|cmd: ResolvedCommand| {
278278
let mut args = vec![format!("wrapped: {:?} {:?}", cmd.program, cmd.args).into()];
279-
args.extend(cmd.envs.iter().map(|(k, v)| {
280-
format!("{}={}", k.to_string_lossy(), v.to_string_lossy()).into()
281-
}));
279+
args.extend(
280+
cmd.envs
281+
.iter()
282+
.map(|(k, v)| format!("{}={}", k.to_string_lossy(), v.to_string_lossy()).into()),
283+
);
282284
ResolvedCommand {
283285
program: "echo".into(),
284286
args,

0 commit comments

Comments
 (0)