Skip to content

Commit 6f8cd0c

Browse files
committed
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.
1 parent 49e4af0 commit 6f8cd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/support/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ pub fn rustc_host() -> String {
16501650
}
16511651

16521652
pub fn is_nightly() -> bool {
1653-
env::var("CARGO_TEST_DIABLE_NIGHTLY").is_err()
1653+
env::var("CARGO_TEST_DISABLE_NIGHTLY").is_err()
16541654
&& RUSTC
16551655
.with(|r| r.verbose_version.contains("-nightly") || r.verbose_version.contains("-dev"))
16561656
}

0 commit comments

Comments
 (0)