mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Check publish_to_alt_registry publish content
This commit is contained in:
parent
8067303f27
commit
814ded6ae9
@ -461,6 +461,32 @@ fn publish_to_alt_registry() {
|
|||||||
",
|
",
|
||||||
)
|
)
|
||||||
.run();
|
.run();
|
||||||
|
|
||||||
|
validate_alt_upload(
|
||||||
|
r#"{
|
||||||
|
"authors": [],
|
||||||
|
"badges": {},
|
||||||
|
"categories": [],
|
||||||
|
"deps": [],
|
||||||
|
"description": null,
|
||||||
|
"documentation": null,
|
||||||
|
"features": {},
|
||||||
|
"homepage": null,
|
||||||
|
"keywords": [],
|
||||||
|
"license": null,
|
||||||
|
"license_file": null,
|
||||||
|
"links": null,
|
||||||
|
"name": "foo",
|
||||||
|
"readme": null,
|
||||||
|
"readme_file": null,
|
||||||
|
"repository": null,
|
||||||
|
"homepage": null,
|
||||||
|
"documentation": null,
|
||||||
|
"vers": "0.0.1"
|
||||||
|
}"#,
|
||||||
|
"foo-0.0.1.crate",
|
||||||
|
&["Cargo.lock", "Cargo.toml", "Cargo.toml.orig", "src/main.rs"],
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cargo_test]
|
#[cargo_test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user