From 337fbaaa12dea9dc85baea3b536c644c3614af5e Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 13 May 2019 18:05:10 -0700 Subject: [PATCH] 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. --- Cargo.toml | 2 +- tests/testsuite/package.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 172e9929b20..c3fcacf53dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/tests/testsuite/package.rs b/tests/testsuite/package.rs index ad77f1a9b89..ad1287d1e13 100644 --- a/tests/testsuite/package.rs +++ b/tests/testsuite/package.rs @@ -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\