Skip to content

Commit

Permalink
Fix broken bench test for new --benches behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Oct 20, 2017
1 parent 3dd21d8 commit e171e00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ fn bench_bench_implicit() {
.with_stderr(format!("\
[COMPILING] foo v0.0.1 ({dir})
[FINISHED] release [optimized] target(s) in [..]
[RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
[RUNNING] target[/]release[/]deps[/]mybench-[..][EXE]
", dir = p.url()))
.with_stdout_contains("test run2 ... bench: [..]"));
Expand Down Expand Up @@ -1323,7 +1324,7 @@ fn bench_virtual_manifest_all_implied() {
.build();

// The order in which foo and bar are built is not guaranteed

assert_that(p.cargo("bench"),
execs().with_status(0)
.with_stderr_contains("\
Expand Down

0 comments on commit e171e00

Please sign in to comment.