diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-19 16:33:20 +0000 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-19 16:33:32 +0000 |
commit | ca17abb29e1eb4046fb8e834e84ac8018b6f6253 (patch) | |
tree | b98525da0dea0baeb260392d21881b4ed83e723b /tests/qrcode.rs | |
parent | Bump fake-tty from 0.2.0 to 0.3.1 (diff) | |
download | miniserve-ca17abb29e1eb4046fb8e834e84ac8018b6f6253.tar.gz miniserve-ca17abb29e1eb4046fb8e834e84ac8018b6f6253.zip |
Fix `fake-tty` API breaking change
It's difficult to create a more trivial commit. Possible, but difficult.
Diffstat (limited to '')
-rw-r--r-- | tests/qrcode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qrcode.rs b/tests/qrcode.rs index 98a3c67..c47e634 100644 --- a/tests/qrcode.rs +++ b/tests/qrcode.rs @@ -48,7 +48,7 @@ fn run_in_faketty_kill_and_get_stdout(template: &Command) -> Result<String, Erro .join(" "); format!("{} {}", bin, args) }; - let mut child = bash_command(&cmd).stdin(Stdio::null()).spawn()?; + let mut child = bash_command(&cmd)?.stdin(Stdio::null()).spawn()?; sleep(Duration::from_secs(1)); |