Skip to content

Commit

Permalink
Properly close dep_feature_in_cmd_line test.
Browse files Browse the repository at this point in the history
It was including the test all_features_flag_enables_all_features
inside its function body.
  • Loading branch information
jhbabon committed Sep 10, 2016
1 parent 398de25 commit 1f88ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -1004,4 +1005,3 @@ fn all_features_flag_enables_all_features() {
assert_that(p.cargo_process("build").arg("--all-features"),
execs().with_status(0));
}
}

0 comments on commit 1f88ad5

Please sign in to comment.