Skip to content

Commit e5aee5c

Browse files
authored
Merge pull request #69 from epage/cargo
perf(cargo): Faster bin lookup
2 parents 82705d7 + bf5d716 commit e5aee5c

File tree

9 files changed

+335
-206
lines changed

9 files changed

+335
-206
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ os:
1111
matrix:
1212
include:
1313
- env: RUSTFMT
14-
rust: 1.29.1 # `stable`: Locking down for consistent behavior
14+
rust: 1.31.0 # `stable`: Locking down for consistent behavior
1515
install:
16-
- rustup component add rustfmt-preview
16+
- rustup component add rustfmt
1717
script:
1818
- cargo fmt -- --check
1919
- env: RUSTFLAGS="-D warnings"
20-
rust: 1.29.1 # `stable`: Locking down for consistent behavior
20+
rust: 1.31.0 # `stable`: Locking down for consistent behavior
2121
install:
2222
script:
2323
- cargo check --tests --all-features
2424
- env: CLIPPY
25-
rust: nightly-2018-07-17
25+
rust: 1.31.0 # `stable`: Locking down for consistent behavior
2626
install:
27-
- rustup component add clippy-preview
27+
- rustup component add clippy
2828
script:
29-
- cargo clippy --all-features -- -D clippy
29+
- cargo clippy --all-features
3030

3131
install:
3232
- rustc -Vv

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ assert_cmd = "0.10"
2121

2222
Here's a trivial example:
2323

24-
```rust
24+
```rust,no_run
2525
extern crate assert_cmd;
2626
2727
use std::process::Command;
2828
use assert_cmd::prelude::*;
2929
30-
Command::main_binary()
30+
Command::cargo_bin("bin_fixture")
3131
.unwrap()
3232
.assert()
3333
.success();

0 commit comments

Comments
 (0)