Skip to content

Commit

Permalink
Repair the other metadata tests
Browse files Browse the repository at this point in the history
  • Loading branch information
acmcarther committed Mar 5, 2018
1 parent 3904562 commit 6a2b646
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/testsuite/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fn cargo_metadata_simple() {
"nodes": [
{
"dependencies": [],
"features": [],
"id": "foo 0.5.0 (path+file:[..]foo)"
}
],
Expand Down Expand Up @@ -117,6 +118,7 @@ crate-type = ["lib", "staticlib"]
"nodes": [
{
"dependencies": [],
"features": [],
"id": "foo 0.5.0 (path+file:[..]foo)"
}
],
Expand Down Expand Up @@ -330,16 +332,19 @@ fn cargo_metadata_with_deps_and_version() {
"dependencies": [
"bar 0.0.1 (registry+[..])"
],
"features": [],
"id": "foo 0.5.0 (path+file:[..]foo)"
},
{
"dependencies": [
"baz 0.0.1 (registry+[..])"
],
"features": [],
"id": "bar 0.0.1 (registry+[..])"
},
{
"dependencies": [],
"features": [],
"id": "baz 0.0.1 (registry+[..])"
}
],
Expand Down Expand Up @@ -404,6 +409,7 @@ name = "ex"
"nodes": [
{
"id": "foo 0.1.0 (path+file:[..]foo)",
"features": [],
"dependencies": []
}
]
Expand Down Expand Up @@ -468,6 +474,7 @@ crate-type = ["rlib", "dylib"]
"nodes": [
{
"id": "foo 0.1.0 (path+file:[..]foo)",
"features": [],
"dependencies": []
}
]
Expand Down Expand Up @@ -540,10 +547,12 @@ fn workspace_metadata() {
"nodes": [
{
"dependencies": [],
"features": [],
"id": "baz 0.5.0 (path+file:[..]baz)"
},
{
"dependencies": [],
"features": [],
"id": "bar 0.5.0 (path+file:[..]bar)"
}
],
Expand Down

0 comments on commit 6a2b646

Please sign in to comment.