Skip to content

Commit 6a2b646

Browse files
committed
Repair the other metadata tests
1 parent 3904562 commit 6a2b646

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/testsuite/metadata.rs

+9
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ fn cargo_metadata_simple() {
4242
"nodes": [
4343
{
4444
"dependencies": [],
45+
"features": [],
4546
"id": "foo 0.5.0 (path+file:[..]foo)"
4647
}
4748
],
@@ -117,6 +118,7 @@ crate-type = ["lib", "staticlib"]
117118
"nodes": [
118119
{
119120
"dependencies": [],
121+
"features": [],
120122
"id": "foo 0.5.0 (path+file:[..]foo)"
121123
}
122124
],
@@ -330,16 +332,19 @@ fn cargo_metadata_with_deps_and_version() {
330332
"dependencies": [
331333
"bar 0.0.1 (registry+[..])"
332334
],
335+
"features": [],
333336
"id": "foo 0.5.0 (path+file:[..]foo)"
334337
},
335338
{
336339
"dependencies": [
337340
"baz 0.0.1 (registry+[..])"
338341
],
342+
"features": [],
339343
"id": "bar 0.0.1 (registry+[..])"
340344
},
341345
{
342346
"dependencies": [],
347+
"features": [],
343348
"id": "baz 0.0.1 (registry+[..])"
344349
}
345350
],
@@ -404,6 +409,7 @@ name = "ex"
404409
"nodes": [
405410
{
406411
"id": "foo 0.1.0 (path+file:[..]foo)",
412+
"features": [],
407413
"dependencies": []
408414
}
409415
]
@@ -468,6 +474,7 @@ crate-type = ["rlib", "dylib"]
468474
"nodes": [
469475
{
470476
"id": "foo 0.1.0 (path+file:[..]foo)",
477+
"features": [],
471478
"dependencies": []
472479
}
473480
]
@@ -540,10 +547,12 @@ fn workspace_metadata() {
540547
"nodes": [
541548
{
542549
"dependencies": [],
550+
"features": [],
543551
"id": "baz 0.5.0 (path+file:[..]baz)"
544552
},
545553
{
546554
"dependencies": [],
555+
"features": [],
547556
"id": "bar 0.5.0 (path+file:[..]bar)"
548557
}
549558
],

0 commit comments

Comments
 (0)