Skip to content

Commit

Permalink
Updated build_virtual_manifest_one_project test
Browse files Browse the repository at this point in the history
  • Loading branch information
debris committed Jul 28, 2017
1 parent 1476448 commit f1f3b15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3096,11 +3096,10 @@ fn build_virtual_manifest_one_project() {
pub fn bar() {}
"#);

// The order in which foo and bar are built is not guaranteed
assert_that(p.cargo_process("build")
.arg("-p").arg("foo"),
execs().with_status(0)
.with_stderr_does_not_contain("[..] Compiling bar v0.1.0 ([..])")
.with_stderr_does_not_contain("bar")
.with_stderr_contains("[..] Compiling foo v0.1.0 ([..])")
.with_stderr("[..] Compiling [..] v0.1.0 ([..])\n\
[..] Finished dev [unoptimized + debuginfo] target(s) in [..]\n"));
Expand Down

0 comments on commit f1f3b15

Please sign in to comment.