cargo_test_support::publish

Function validate_upload_with_contents

Source
pub fn validate_upload_with_contents(
    expected_json: &str,
    expected_crate_name: &str,
    expected_files: &[&str],
    expected_contents: impl Into<InMemoryDir>,
)
Expand description

Check the cargo publish API call, with file contents