Skip to content

Commit

Permalink
Auto merge of #7145 - alexcrichton:fix-typo, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix a typo in an env var name

Not actually used yet in rust-lang/rust, but may as well try to get it
right on the first try.
  • Loading branch information
bors committed Jul 18, 2019
2 parents 49e4af0 + 6f8cd0c commit f227776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ pub fn rustc_host() -> String {
}

pub fn is_nightly() -> bool {
env::var("CARGO_TEST_DIABLE_NIGHTLY").is_err()
env::var("CARGO_TEST_DISABLE_NIGHTLY").is_err()
&& RUSTC
.with(|r| r.verbose_version.contains("-nightly") || r.verbose_version.contains("-dev"))
}
Expand Down

0 comments on commit f227776

Please sign in to comment.