Skip to content

Commit ed000ab

Browse files
committed
Run cargo fmt
1 parent b585df8 commit ed000ab

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/smoke.rs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,16 +253,24 @@ fn is_serde() {
253253
#[test]
254254
#[cfg(target_os = "macos")]
255255
fn simple_test() {
256-
use std::{env, panic, fs};
256+
use std::{env, fs, panic};
257257

258258
// Find our dSYM and replace the DWARF binary with an empty file
259259
let mut dsym_path = env::current_exe().unwrap();
260260
let executable_name = dsym_path.file_name().unwrap().to_str().unwrap().to_string();
261261
assert!(dsym_path.pop()); // Pop executable
262-
dsym_path.push(format!("{}.dSYM/Contents/Resources/DWARF/{0}", executable_name));
262+
dsym_path.push(format!(
263+
"{}.dSYM/Contents/Resources/DWARF/{0}",
264+
executable_name
265+
));
263266
{
264-
let file = fs::OpenOptions::new().read(false).write(true).truncate(true).create(false)
265-
.open(&dsym_path).unwrap();
267+
let file = fs::OpenOptions::new()
268+
.read(false)
269+
.write(true)
270+
.truncate(true)
271+
.create(false)
272+
.open(&dsym_path)
273+
.unwrap();
266274
}
267275

268276
env::set_var("RUST_BACKTRACE", "1");

0 commit comments

Comments
 (0)