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() {
1584
1584
}
1585
1585
1586
1586
#[test]
1587
- fn env () {
1587
+ fn unit_env_cargo_target_tmpdir () {
1588
1588
// Check that CARGO_TARGET_TMPDIR isn't set for unit tests
1589
1589
assert!(option_env!("CARGO_TARGET_TMPDIR").is_none());
1590
1590
env::var("CARGO_TARGET_TMPDIR").unwrap_err();
@@ -1612,7 +1612,7 @@ fn crate_env_vars() {
1612
1612
"tests/env.rs" ,
1613
1613
r#"
1614
1614
#[test]
1615
- fn env () {
1615
+ fn integration_env_cargo_target_tmpdir () {
1616
1616
foo::check_tmpdir(option_env!("CARGO_TARGET_TMPDIR"));
1617
1617
}
1618
1618
"# ,
@@ -1627,7 +1627,7 @@ fn crate_env_vars() {
1627
1627
use test::Bencher;
1628
1628
1629
1629
#[bench]
1630
- fn env (_: &mut Bencher) {
1630
+ fn bench_env_cargo_target_tmpdir (_: &mut Bencher) {
1631
1631
foo::check_tmpdir(option_env!("CARGO_TARGET_TMPDIR"));
1632
1632
}
1633
1633
"# ,
You can’t perform that action at this time.
0 commit comments