Skip to content

Commit 814ded6

Browse files
committed
Check publish_to_alt_registry publish content
1 parent 8067303 commit 814ded6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

tests/testsuite/alt_registry.rs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,32 @@ fn publish_to_alt_registry() {
461461
",
462462
)
463463
.run();
464+
465+
validate_alt_upload(
466+
r#"{
467+
"authors": [],
468+
"badges": {},
469+
"categories": [],
470+
"deps": [],
471+
"description": null,
472+
"documentation": null,
473+
"features": {},
474+
"homepage": null,
475+
"keywords": [],
476+
"license": null,
477+
"license_file": null,
478+
"links": null,
479+
"name": "foo",
480+
"readme": null,
481+
"readme_file": null,
482+
"repository": null,
483+
"homepage": null,
484+
"documentation": null,
485+
"vers": "0.0.1"
486+
}"#,
487+
"foo-0.0.1.crate",
488+
&["Cargo.lock", "Cargo.toml", "Cargo.toml.orig", "src/main.rs"],
489+
);
464490
}
465491

466492
#[cargo_test]

0 commit comments

Comments
 (0)