From: Juan Hernández Date: Sat, 10 Sep 2016 21:25:23 +0000 (-0400) Subject: Properly close dep_feature_in_cmd_line test. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2~80^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f88ad531844b0d191ccc76fe97d9f2b813aca7a;p=cargo.git Properly close dep_feature_in_cmd_line test. It was including the test all_features_flag_enables_all_features inside its function body. --- diff --git a/tests/features.rs b/tests/features.rs index a6921de38..449e1f9c8 100644 --- a/tests/features.rs +++ b/tests/features.rs @@ -960,6 +960,7 @@ fn dep_feature_in_cmd_line() { execs().with_status(101).with_stderr("\ [ERROR] feature names may not contain slashes: `bar/some-feat` ")); +} #[test] fn all_features_flag_enables_all_features() { @@ -1004,4 +1005,3 @@ fn all_features_flag_enables_all_features() { assert_that(p.cargo_process("build").arg("--all-features"), execs().with_status(0)); } -}