diff --git a/plugins/updater/tests/app-updater/tests/update.rs b/plugins/updater/tests/app-updater/tests/update.rs index 4fcf3de85..20099d398 100644 --- a/plugins/updater/tests/app-updater/tests/update.rs +++ b/plugins/updater/tests/app-updater/tests/update.rs @@ -396,8 +396,8 @@ fn patch_bundle_type(from: &Path, to: &Path, bundle_target: BundleTarget) { _ => unreachable!("{} is not a Windows bundle", bundle_target.name()), }; - let mut binary = std::fs::read(from) - .unwrap_or_else(|e| panic!("failed to read {}: {e}", from.display())); + let mut binary = + std::fs::read(from).unwrap_or_else(|e| panic!("failed to read {}: {e}", from.display())); let index = binary .windows(PLACEHOLDER.len()) .position(|window| window == PLACEHOLDER)