Skip to content

Commit 337fbaa

Browse files
committed
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.
1 parent d56af31 commit 337fbaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ git2-curl = "0.9.0"
3737
glob = "0.3.0"
3838
hex = "0.3"
3939
home = "0.3"
40-
ignore = "0.4"
40+
ignore = "0.4.7"
4141
lazy_static = "1.2.0"
4242
jobserver = "0.1.13"
4343
lazycell = "1.2.0"

tests/testsuite/package.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ fn gitignore_negate() {
13371337
);
13381338

13391339
include_exclude_test(
1340-
r#"["Cargo.toml", "src/**.rs", "!foo.rs"]"#, // include
1340+
r#"["Cargo.toml", "src/*.rs", "!foo.rs"]"#, // include
13411341
"[]",
13421342
&["src/lib.rs", "foo.rs", "src/foo.rs", "src/bar/foo.rs"],
13431343
"Cargo.toml\n\

0 commit comments

Comments
 (0)