Skip to content

Commit

Permalink
Auto merge of #11799 - hi-rustin:rustin-ptach-test-publish, r=arlosi
Browse files Browse the repository at this point in the history
Check publish_to_alt_registry publish content
  • Loading branch information
bors committed Mar 4, 2023
2 parents 8067303 + 814ded6 commit 8ef74af
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tests/testsuite/alt_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,32 @@ fn publish_to_alt_registry() {
",
)
.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]
Expand Down

0 comments on commit 8ef74af

Please sign in to comment.