Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo in an env var name #7145

Merged
merged 1 commit into from
Jul 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
alexcrichton committed Jul 18, 2019
commit 6f8cd0c5c1d4fa96ac10373b2f91677ea7765f0e
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