Skip to content

Commit 60b432b

Browse files
committed
fix model tests
1 parent aa093f5 commit 60b432b

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

crates/project-model/src/tests.rs

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
185185
),
186186
origin: CratesIo {
187187
repo: None,
188+
name: Some(
189+
"hello-world",
190+
),
188191
},
189192
is_proc_macro: false,
190193
},
@@ -260,6 +263,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
260263
),
261264
origin: CratesIo {
262265
repo: None,
266+
name: Some(
267+
"hello-world",
268+
),
263269
},
264270
is_proc_macro: false,
265271
},
@@ -335,6 +341,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
335341
),
336342
origin: CratesIo {
337343
repo: None,
344+
name: Some(
345+
"hello-world",
346+
),
338347
},
339348
is_proc_macro: false,
340349
},
@@ -410,6 +419,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
410419
),
411420
origin: CratesIo {
412421
repo: None,
422+
name: Some(
423+
"hello-world",
424+
),
413425
},
414426
is_proc_macro: false,
415427
},
@@ -477,6 +489,9 @@ fn cargo_hello_world_project_model_with_wildcard_overrides() {
477489
repo: Some(
478490
"https://github.com/rust-lang/libc",
479491
),
492+
name: Some(
493+
"libc",
494+
),
480495
},
481496
is_proc_macro: false,
482497
},
@@ -567,6 +582,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
567582
),
568583
origin: CratesIo {
569584
repo: None,
585+
name: Some(
586+
"hello-world",
587+
),
570588
},
571589
is_proc_macro: false,
572590
},
@@ -644,6 +662,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
644662
),
645663
origin: CratesIo {
646664
repo: None,
665+
name: Some(
666+
"hello-world",
667+
),
647668
},
648669
is_proc_macro: false,
649670
},
@@ -721,6 +742,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
721742
),
722743
origin: CratesIo {
723744
repo: None,
745+
name: Some(
746+
"hello-world",
747+
),
724748
},
725749
is_proc_macro: false,
726750
},
@@ -798,6 +822,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
798822
),
799823
origin: CratesIo {
800824
repo: None,
825+
name: Some(
826+
"hello-world",
827+
),
801828
},
802829
is_proc_macro: false,
803830
},
@@ -865,6 +892,9 @@ fn cargo_hello_world_project_model_with_selective_overrides() {
865892
repo: Some(
866893
"https://github.com/rust-lang/libc",
867894
),
895+
name: Some(
896+
"libc",
897+
),
868898
},
869899
is_proc_macro: false,
870900
},
@@ -946,6 +976,9 @@ fn cargo_hello_world_project_model() {
946976
),
947977
origin: CratesIo {
948978
repo: None,
979+
name: Some(
980+
"hello-world",
981+
),
949982
},
950983
is_proc_macro: false,
951984
},
@@ -1023,6 +1056,9 @@ fn cargo_hello_world_project_model() {
10231056
),
10241057
origin: CratesIo {
10251058
repo: None,
1059+
name: Some(
1060+
"hello-world",
1061+
),
10261062
},
10271063
is_proc_macro: false,
10281064
},
@@ -1100,6 +1136,9 @@ fn cargo_hello_world_project_model() {
11001136
),
11011137
origin: CratesIo {
11021138
repo: None,
1139+
name: Some(
1140+
"hello-world",
1141+
),
11031142
},
11041143
is_proc_macro: false,
11051144
},
@@ -1177,6 +1216,9 @@ fn cargo_hello_world_project_model() {
11771216
),
11781217
origin: CratesIo {
11791218
repo: None,
1219+
name: Some(
1220+
"hello-world",
1221+
),
11801222
},
11811223
is_proc_macro: false,
11821224
},
@@ -1244,6 +1286,9 @@ fn cargo_hello_world_project_model() {
12441286
repo: Some(
12451287
"https://github.com/rust-lang/libc",
12461288
),
1289+
name: Some(
1290+
"libc",
1291+
),
12471292
},
12481293
is_proc_macro: false,
12491294
},
@@ -1804,6 +1849,9 @@ fn rust_project_hello_world_project_model() {
18041849
),
18051850
origin: CratesIo {
18061851
repo: None,
1852+
name: Some(
1853+
"hello_world",
1854+
),
18071855
},
18081856
is_proc_macro: false,
18091857
},

0 commit comments

Comments
 (0)