From 36498076290a07478c4a35bb724784e9a245c8b2 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Wed, 12 Jun 2024 22:38:22 +0900 Subject: [PATCH] Add insta dev-dependency --- Cargo.lock | 26 ++++++++++++++++++++++++++ Cargo.toml | 1 + 2 files changed, 27 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index acb1101461..cfe453e5bd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -224,6 +224,7 @@ dependencies = [ "home", "humansize", "ignore", + "insta", "itertools 0.11.0", "lazy_static", "libc", @@ -432,6 +433,19 @@ dependencies = [ "hashbrown 0.14.3", ] +[[package]] +name = "insta" +version = "1.39.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "810ae6042d48e2c9e9215043563a58a80b877bc863228a74cf10c49d4620a6f5" +dependencies = [ + "globset", + "lazy_static", + "linked-hash-map", + "similar", + "walkdir", +] + [[package]] name = "io-lifetimes" version = "1.0.11" @@ -511,6 +525,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b25f5068853805faa3c19f44d0c401446e4eb3f47cc808fa331eec30f0ba35c" +[[package]] +name = "linked-hash-map" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" + [[package]] name = "linux-raw-sys" version = "0.3.8" @@ -882,6 +902,12 @@ dependencies = [ "libc", ] +[[package]] +name = "similar" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640" + [[package]] name = "smallvec" version = "1.13.2" diff --git a/Cargo.toml b/Cargo.toml index 3842966527..8aad532475 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,6 +87,7 @@ smallvec = "1.13.2" # assert_cmd 2.0.10 requires predicates 3. # TODO: update. assert_cmd = ">= 2, < 2.0.9" +insta = { version = "1.39.0", features = ["glob"], default-features = false } predicates = "2.1.0" pretty_assertions = "1.3.0"