fix model tests

This commit is contained in:
Noah Santschi-Cooney 2022-09-26 18:09:46 +01:00
parent aa093f5a58
commit 60b432b7e9
No known key found for this signature in database
GPG Key ID: 3B22282472C8AE48

View File

@ -185,6 +185,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -260,6 +263,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -335,6 +341,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -410,6 +419,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -477,6 +489,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
repo: Some( repo: Some(
"https://github.com/rust-lang/libc", "https://github.com/rust-lang/libc",
), ),
name: Some(
"libc",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -567,6 +582,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -644,6 +662,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -721,6 +742,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -798,6 +822,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -865,6 +892,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
repo: Some( repo: Some(
"https://github.com/rust-lang/libc", "https://github.com/rust-lang/libc",
), ),
name: Some(
"libc",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -946,6 +976,9 @@ fn cargo_hello_world_project_model() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -1023,6 +1056,9 @@ fn cargo_hello_world_project_model() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -1100,6 +1136,9 @@ fn cargo_hello_world_project_model() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -1177,6 +1216,9 @@ fn cargo_hello_world_project_model() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello-world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -1244,6 +1286,9 @@ fn cargo_hello_world_project_model() {
repo: Some( repo: Some(
"https://github.com/rust-lang/libc", "https://github.com/rust-lang/libc",
), ),
name: Some(
"libc",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },
@ -1804,6 +1849,9 @@ fn rust_project_hello_world_project_model() {
), ),
origin: CratesIo { origin: CratesIo {
repo: None, repo: None,
name: Some(
"hello_world",
),
}, },
is_proc_macro: false, is_proc_macro: false,
}, },