Skip to content

Commit

Permalink
Auto merge of #6938 - ehuss:fix-ignore-version, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix version of `ignore`.

Some tests relied on new behavior, so bump the minimal version.

The change to `gitignore_negate` was just an innocuous typo.
  • Loading branch information
bors committed May 14, 2019
2 parents d56af31 + 337fbaa commit fd3d06b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ git2-curl = "0.9.0"
glob = "0.3.0"
hex = "0.3"
home = "0.3"
ignore = "0.4"
ignore = "0.4.7"
lazy_static = "1.2.0"
jobserver = "0.1.13"
lazycell = "1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ fn gitignore_negate() {
);

include_exclude_test(
r#"["Cargo.toml", "src/**.rs", "!foo.rs"]"#, // include
r#"["Cargo.toml", "src/*.rs", "!foo.rs"]"#, // include
"[]",
&["src/lib.rs", "foo.rs", "src/foo.rs", "src/bar/foo.rs"],
"Cargo.toml\n\
Expand Down

0 comments on commit fd3d06b

Please sign in to comment.