Skip to content

Commit

Permalink
Auto merge of #4098 - callahad:remove-superfluous-semis, r=alexcrichton
Browse files Browse the repository at this point in the history
Remove superfluous `;;` sequences

Per @Mark-Simulacrum's request in rust-lang/rust#42215 (comment)
  • Loading branch information
bors committed May 25, 2017
2 parents a45d4e9 + 76d53d5 commit 381a4e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/cargo_alias_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn alias_incorrect_config_type() {
.file(".cargo/config",r#"
[alias]
b-cargo-test = 5
"#);;
"#);

assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(101).
Expand All @@ -33,7 +33,7 @@ fn alias_default_config_overrides_config() {
.file(".cargo/config",r#"
[alias]
b = "not_build"
"#);;
"#);

assert_that(p.cargo_process("b").arg("-v"),
execs().with_status(0).
Expand All @@ -50,7 +50,7 @@ fn alias_config() {
.file(".cargo/config",r#"
[alias]
b-cargo-test = "build"
"#);;
"#);

assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(0).
Expand All @@ -68,7 +68,7 @@ fn alias_list_test() {
.file(".cargo/config",r#"
[alias]
b-cargo-test = ["build", "--release"]
"#);;
"#);

assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(0).
Expand All @@ -87,7 +87,7 @@ fn alias_with_flags_config() {
.file(".cargo/config",r#"
[alias]
b-cargo-test = "build --release"
"#);;
"#);

assert_that(p.cargo_process("b-cargo-test").arg("-v"),
execs().with_status(0).
Expand All @@ -106,7 +106,7 @@ fn cant_shadow_builtin() {
.file(".cargo/config",r#"
[alias]
build = "fetch"
"#);;
"#);

assert_that(p.cargo_process("build"),
execs().with_status(0)
Expand Down

0 comments on commit 381a4e7

Please sign in to comment.