Skip to content

Commit

Permalink
test: Clarify why verbose is used
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 22, 2023
1 parent 4b1ce53 commit 9ffa303
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testsuite/lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ pub fn foo(num: i32) -> u32 {
.build();

foo.cargo("check")
.arg("-v") // Show order of rustflags on failure
.masquerade_as_nightly_cargo(&["lints"])
.run();
}
Expand Down Expand Up @@ -428,7 +429,7 @@ pub fn foo(num: i32) -> u32 {
.build();

foo.cargo("check")
.arg("-v")
.arg("-v") // Show order of rustflags on failure
.env("RUSTFLAGS", "-Aunsafe_code")
.masquerade_as_nightly_cargo(&["lints"])
.run();
Expand Down Expand Up @@ -464,7 +465,7 @@ pub fn foo(num: i32) -> u32 {
.build();

foo.cargo("check")
.arg("-v")
.arg("-v") // Show order of rustflags on failure
.masquerade_as_nightly_cargo(&["lints", "profile-rustflags"])
.run();
}
Expand Down

0 comments on commit 9ffa303

Please sign in to comment.