Combined stdout + stderr as a lossy string, for substring assertions.
(out: &Output)
| 25 | |
| 26 | /// Combined stdout + stderr as a lossy string, for substring assertions. |
| 27 | fn combined(out: &Output) -> String { |
| 28 | let mut s = String::from_utf8_lossy(&out.stdout).into_owned(); |
| 29 | s.push_str(&String::from_utf8_lossy(&out.stderr)); |
| 30 | s |
| 31 | } |
| 32 | |
| 33 | /// Initialize a repo (default view `dev`) with a base file recorded on `dev`. |
| 34 | fn repo_with_base() -> TempDir { |
no outgoing calls
no test coverage detected