diff --git a/Cargo.lock b/Cargo.lock index 332fbb7d..3dc35f5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -617,8 +617,6 @@ checksum = "f37d101fcafc8e73748fd8a1b7048f5979f93d372fd17027d7724c1643bc379b" dependencies = [ "anstream 0.6.14", "anstyle", - "ignore", - "libtest-mimic", "normalize-line-endings", "similar", "snapbox-macros", diff --git a/crates/toml_edit/Cargo.toml b/crates/toml_edit/Cargo.toml index 8152bbe4..404d5fb8 100644 --- a/crates/toml_edit/Cargo.toml +++ b/crates/toml_edit/Cargo.toml @@ -52,7 +52,7 @@ serde_json = "1.0.116" toml-test-harness = "0.4.8" toml-test-data = "1.11.0" libtest-mimic = "0.7.2" -snapbox = { version = "0.5.14", features = ["harness"] } +snapbox = "0.5.14" [[test]] name = "testsuite" diff --git a/crates/toml_edit/src/item.rs b/crates/toml_edit/src/item.rs index cb55625b..601c2358 100644 --- a/crates/toml_edit/src/item.rs +++ b/crates/toml_edit/src/item.rs @@ -364,7 +364,6 @@ impl std::fmt::Display for Item { /// ```rust /// # #[cfg(feature = "display")] { /// # #[cfg(feature = "parse")] { -/// # use snapbox::assert_eq; /// # use toml_edit::*; /// let mut table = Table::default(); /// let mut array = Array::default(); @@ -373,7 +372,7 @@ impl std::fmt::Display for Item { /// table["key1"] = value("value1"); /// table["key2"] = value(42); /// table["key3"] = value(array); -/// assert_eq(table.to_string(), +/// assert_eq!(table.to_string(), /// r#"key1 = "value1" /// key2 = 42 /// key3 = ["hello", '\, world']