Skip to content

Commit 28fd28e

Browse files
authored
cleanup: update cargo_toml url used in crate_universe tests (#3700)
Also drop the serialized_configs dep from the integration test; it's not needed there.
1 parent 76a0b8f commit 28fd28e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

crate_universe/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ rust_test(
129129
srcs = ["tests/cargo_integration_test.rs"],
130130
aliases = aliases(),
131131
data = glob(["test_data/**"]) + [
132-
"//crate_universe/test_data/serialized_configs",
133132
"@rules_rust//rust/toolchain:current_cargo_files",
134133
"@rules_rust//rust/toolchain:current_rustc_files",
135134
],

crate_universe/src/splicing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ mod test {
579579
assert_eq!(
580580
package,
581581
&cargo_toml::DependencyDetail {
582-
git: Some("https://gitlab.com/crates.rs/cargo_toml.git".to_owned()),
582+
git: Some("https://gitlab.com/lib.rs/cargo_toml.git".to_owned()),
583583
tag: Some("v0.15.2".to_owned()),
584584
default_features: true,
585585
..Default::default()

crate_universe/test_data/serialized_configs/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ write_file(
4949
},
5050
packages = {
5151
"cargo_toml": crate.spec(
52-
git = "https://gitlab.com/crates.rs/cargo_toml.git",
52+
git = "https://gitlab.com/lib.rs/cargo_toml.git",
5353
tag = "v0.15.2",
5454
),
5555
"cfg-if": crate.spec(

0 commit comments

Comments
 (0)