pub fn baz() {}
");
- assert_that(p.cargo_process("bench"),
+ assert_that(p.cargo_process("bench").arg("-v"),
execs().with_status(0)
.with_stdout(format!("\
+{running} [..]
+{running} [..]
+{running} [..]
+{running} [..]
{compiling} bar v0.0.1 ({dir})
{compiling} foo v0.0.1 ({dir})
-{running} target[..]release[..]bench-[..]
+{running} [..]target[..]release[..]bench-[..]
running 1 test
test foo ... bench: 0 ns/iter (+/- 0)
test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured
-{running} target[..]release[..]foo-[..]
+{running} [..]target[..]release[..]foo-[..]
running 1 test
test foo ... bench: 0 ns/iter (+/- 0)
test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured
{doctest} foo
+{running} [..]
running 0 tests