From be95b31896f497ad83993cb3790047671dea34b4 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 10 May 2024 16:02:21 -0700 Subject: [PATCH] Tests do actually import predicates, so restore dependency with looser bounds --- Cargo.lock | 28 ++++++++++++++++++++++++++++ Cargo.toml | 1 + 2 files changed, 29 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 79edd08928..0c435ca12e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -242,6 +242,7 @@ dependencies = [ "log", "mimalloc", "owo-colors", + "predicates", "pretty_assertions", "pretty_env_logger", "radix-heap", @@ -308,6 +309,15 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +dependencies = [ + "num-traits", +] + [[package]] name = "fnv" version = "1.0.7" @@ -576,6 +586,21 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + [[package]] name = "once_cell" version = "1.19.0" @@ -634,8 +659,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c" dependencies = [ "difflib", + "float-cmp", "itertools 0.10.5", + "normalize-line-endings", "predicates-core", + "regex", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e2389edfa4..8d46093d4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,6 +85,7 @@ smallvec = "1.13.2" [dev-dependencies] # assert_cmd 2.0.6 requires rust 1.60 assert_cmd = ">= 2, <= 2.0.5" +predicates = "2.1.0" pretty_assertions = "1.3.0"