Skip to content

Commit

Permalink
Auto merge of #5945 - dwijnand:remove-hamcrest, r=alexcrichton
Browse files Browse the repository at this point in the history
Remove Cargo's internal `hamcrest` module

Fixes #5742
  • Loading branch information
bors committed Aug 29, 2018
2 parents a49589c + a88a637 commit b1209f8
Show file tree
Hide file tree
Showing 30 changed files with 617 additions and 951 deletions.
5 changes: 2 additions & 3 deletions tests/testsuite/bench.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use support::hamcrest::{assert_that, existing_file};
use support::is_nightly;
use support::paths::CargoPathExt;
use support::{basic_bin_manifest, basic_lib_manifest, basic_manifest, project};
Expand Down Expand Up @@ -33,7 +32,7 @@ fn cargo_bench_simple() {
).build();

p.cargo("build").run();
assert_that(&p.bin("foo"), existing_file());
assert!(p.bin("foo").is_file());

p.process(&p.bin("foo")).with_stdout("hello\n").run();

Expand Down Expand Up @@ -302,7 +301,7 @@ fn cargo_bench_failing_test() {
).build();

p.cargo("build").run();
assert_that(&p.bin("foo"), existing_file());
assert!(p.bin("foo").is_file());

p.process(&p.bin("foo")).with_stdout("hello\n").run();

Expand Down
Loading

0 comments on commit b1209f8

Please sign in to comment.