Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jul 26, 2024
1 parent 26f8c4f commit 0f546e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ fn test_unix_socket() {
pid: 0,
};

let listener = std::os::unix::net::UnixListener::bind(&path).unwrap();

let err = unix_custom(formatter.clone(), &path)
.map(|_| ())
.unwrap_err();
println!("expected initialization error: {err:?}");

let listener = std::os::unix::net::UnixListener::bind(&path).unwrap();

let str = Arc::new(Mutex::new(String::new()));
let s = str.clone();

Expand Down

0 comments on commit 0f546e6

Please sign in to comment.