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.
This commit is contained in:
Eric Huss 2019-05-13 18:05:10 -07:00
parent d56af31df1
commit 337fbaaa12
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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\