We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 422ebc1 commit e0b056cCopy full SHA for e0b056c
1 file changed
tests/bin.rs
@@ -16,7 +16,8 @@ fn it_prints_out_processing_error() -> Result<()> {
16
let mut file = NamedTempFile::new()?;
17
file.write_all(html.as_bytes())?;
18
19
- let output = Command::new("./target/debug/examples/simple_parser")
+ let output = Command::new("cargo")
20
+ .args(["run", "--example", "simple_parser", "--"])
21
.arg("-d")
22
.arg(file.path())
23
.output()
0 commit comments