File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1584,7 +1584,7 @@ fn crate_env_vars() {
15841584 }
15851585
15861586 #[test]
1587- fn env () {
1587+ fn unit_env_cargo_target_tmpdir () {
15881588 // Check that CARGO_TARGET_TMPDIR isn't set for unit tests
15891589 assert!(option_env!("CARGO_TARGET_TMPDIR").is_none());
15901590 env::var("CARGO_TARGET_TMPDIR").unwrap_err();
@@ -1612,7 +1612,7 @@ fn crate_env_vars() {
16121612 "tests/env.rs" ,
16131613 r#"
16141614 #[test]
1615- fn env () {
1615+ fn integration_env_cargo_target_tmpdir () {
16161616 foo::check_tmpdir(option_env!("CARGO_TARGET_TMPDIR"));
16171617 }
16181618 "# ,
@@ -1627,7 +1627,7 @@ fn crate_env_vars() {
16271627 use test::Bencher;
16281628
16291629 #[bench]
1630- fn env (_: &mut Bencher) {
1630+ fn bench_env_cargo_target_tmpdir (_: &mut Bencher) {
16311631 foo::check_tmpdir(option_env!("CARGO_TARGET_TMPDIR"));
16321632 }
16331633 "# ,
You can’t perform that action at this time.
0 commit comments