From: Kalita Alexey Date: Thu, 9 Feb 2017 18:20:56 +0000 (+0300) Subject: Fixed tests X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~158^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=de92912a458e514b32c3e349c874df626316b537;p=cargo.git Fixed tests --- diff --git a/tests/metadata.rs b/tests/metadata.rs index 83fb7038e..07dc4bbec 100644 --- a/tests/metadata.rs +++ b/tests/metadata.rs @@ -274,7 +274,7 @@ version = "0.1.0" [[example]] name = "ex" -crate-type = ["staticlib"] +crate-type = ["rlib", "dylib"] "#); assert_that(p.cargo_process("metadata"), execs().with_json(r#" @@ -298,7 +298,7 @@ crate-type = ["staticlib"] }, { "kind": [ "example" ], - "crate_types": [ "staticlib" ], + "crate_types": [ "rlib", "dylib" ], "name": "ex", "src_path": "[..][/]foo[/]examples[/]ex.rs" } diff --git a/tests/read-manifest.rs b/tests/read-manifest.rs index ab29399a5..f656ab210 100644 --- a/tests/read-manifest.rs +++ b/tests/read-manifest.rs @@ -16,6 +16,7 @@ static MANIFEST_OUTPUT: &'static str = r#" "dependencies":[], "targets":[{ "kind":["bin"], + "crate_types":["bin"], "name":"foo", "src_path":"[..][/]foo[/]src[/]foo.rs" }],