Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy committed Jul 2, 2022
1 parent 17feeea commit 4248780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests-integration/src/bin/test-cat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async fn main() {
let mut stdin = tokio::io::stdin();
let mut stdout = tokio::io::stdout();

let _ = tokio::io::copy(&mut stdin, &mut stdout).await.unwrap();
tokio::io::copy(&mut stdin, &mut stdout).await.unwrap();

stdout.flush().await.unwrap();
}
3 changes: 1 addition & 2 deletions tests-integration/tests/process_stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ use tokio_test::assert_ok;

use futures::future::{self, FutureExt};
use std::convert::TryInto;
use std::env;
use std::io;
use std::process::{ExitStatus, Stdio};

fn cat() -> Command {
let mut cmd = Command::new(env!("CARGO_BIN_EXE_test-cat"));
let mut cmd = Command::new("cat");
cmd.stdin(Stdio::piped()).stdout(Stdio::piped());
cmd
}
Expand Down

0 comments on commit 4248780

Please sign in to comment.