Skip to content

Commit 641a515

Browse files
committed
Auto merge of #10350 - epage:edit, r=alexcrichton
test: Fix compatibilty with new toml_edit `toml_edit` fixed a bug in 0.13.4 that this test was relying on that is meant to help with #10349. This basically restores us back to the pre-toml_edit behavior for published manifests. I included the `Cargo.toml` change to ensure any existing lock files on people's machines get updated so the test won't mysteriously start failing for them when doing a `pull`.
2 parents b2496f0 + 0f75237 commit 641a515

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ strip-ansi-escapes = "0.1.0"
5757
tar = { version = "0.4.36", default-features = false }
5858
tempfile = "3.0"
5959
termcolor = "1.1"
60-
toml_edit = { version = "0.13", features = ["serde", "easy"] }
60+
toml_edit = { version = "0.13.4", features = ["serde", "easy"] }
6161
unicode-xid = "0.2.0"
6262
url = "2.2.2"
6363
walkdir = "2.2"

tests/testsuite/publish.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,8 @@ homepage = "foo"
12841284
documentation = "foo"
12851285
license = "MIT"
12861286
repository = "foo"
1287+
1288+
[dev-dependencies]
12871289
"#,
12881290
cargo::core::package::MANIFEST_PREAMBLE
12891291
),

0 commit comments

Comments
 (0)