From f0fb004385feb06df29d36991d78b049ef8678e3 Mon Sep 17 00:00:00 2001 From: Nigel Ihza Firdausy <106657905+Ni-zav@users.noreply.github.com> Date: Mon, 12 Oct 2026 13:09:55 +0700 Subject: [PATCH] style(tests): apply rustfmt corrections to layer export coverage --- crates/engine/src/file_cmds/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/engine/src/file_cmds/tests.rs b/crates/engine/src/file_cmds/tests.rs index 97ac56fa1ec..3486bf92c78 100644 --- a/crates/engine/src/file_cmds/tests.rs +++ b/crates/engine/src/file_cmds/tests.rs @@ -570,7 +570,6 @@ fn layers_to_files_writes_each_visible_layer() { assert_eq!(r["files"].as_array().unwrap().len(), 3); } - #[test] fn layers_to_files_can_trim_transparent_margins_without_changing_the_document() { let dir = tmp("layers-trim"); @@ -608,7 +607,8 @@ fn streamed_layer_export_respects_trim() { let names = super::export_layers_with(&s, &json!({"trim": true, "format": "png"}), |name, bytes| { encoded.push((name.to_string(), bytes.to_vec())); Ok(()) - }).unwrap(); + }) + .unwrap(); assert_eq!(names.len(), encoded.len()); let cropped = photocraft_io::import(&encoded[0].0, &encoded[0].1).unwrap().document; assert_eq!((cropped.size.width, cropped.size.height), (4, 5));