Repository: svenstaro/miniserve
Pull request #907 (2022-09-19 04:25:49)

Bump fake-tty from 0.2.0 to 0.3.1
Bumps [fake-tty](https://github.com/Aloso/to-html) from 0.2.0 to 0.3.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/Aloso/to-html/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fake-tty&package-manager=cargo&previous-version=0.2.0&new-version=0.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index 7669520..04da9d7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -823,9 +823,9 @@ dependencies = [
 
 [[package]]
 name = "fake-tty"
-version = "0.2.0"
+version = "0.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1caac348c61d1f9a7d43c3629abc75540754a4971944953f84b98cb8280e3971"
+checksum = "aa6c2a740a5d6940f90a0f13b5828440c2a7160bd1e235cf934d5df0e7a3e1ad"
 
 [[package]]
 name = "fancy-regex"
diff --git a/Cargo.toml b/Cargo.toml
index 05baaab..8372342 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -79,7 +79,7 @@ url = "2"
 
 [target.'cfg(not(windows))'.dev-dependencies]
 # fake_tty does not support Windows for now
-fake-tty = "0.2.0"
+fake-tty = "0.3.1"
 
 [build-dependencies]
 grass = "0.11"


Test patch:
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));