assert_that(&stdout).starts_with(&"Created new archive");
doesn't seem to work if stdout is a String: I need to explicitly call .as_str()
Am I doing this wrong? Or if not, would you be open to a PR that adds a specialization for String, and similarly for PathBuf?
doesn't seem to work if stdout is a String: I need to explicitly call
.as_str()Am I doing this wrong? Or if not, would you be open to a PR that adds a specialization for
String, and similarly forPathBuf?