Skip to content

Commit

Permalink
Fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiburt committed Sep 6, 2021
1 parent 48c2ef5 commit 6d43698
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/expect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ fn expect_n_bytes() {
fn expect_n_bytes() {
use expectrl::{ProcAttr, Session};

let mut session = Session::spawn(
ProcAttr::cmd(r#"echo Hello World"#.to_string()),
)
.unwrap();
let mut session = Session::spawn(ProcAttr::cmd(r#"echo Hello World"#.to_string())).unwrap();

// give shell some time
std::thread::sleep(Duration::from_millis(300));
Expand Down

0 comments on commit 6d43698

Please sign in to comment.