Skip to content

Commit eec25f2

Browse files
committed
Cargo fmt
1 parent 08bd346 commit eec25f2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/environment_info.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ use netcorehost::{
22
hostfxr::{EnvironmentInfo, FrameworkInfo, SdkInfo},
33
nethost,
44
};
5-
use std::{collections::HashMap, path::{Path, PathBuf}, process::Command, str::FromStr};
5+
use std::{
6+
collections::HashMap,
7+
path::{Path, PathBuf},
8+
process::Command,
9+
str::FromStr,
10+
};
611

712
#[path = "common.rs"]
813
mod common;
@@ -16,7 +21,8 @@ fn get_dotnet_environment_info() {
1621
nethost::load_hostfxr_with_dotnet_root(PdCString::from_str(dotnet_root).unwrap())
1722
} else {
1823
nethost::load_hostfxr()
19-
}.unwrap();
24+
}
25+
.unwrap();
2026

2127
let actual_env = hostfxr.get_dotnet_environment_info().unwrap();
2228
let expected_env = get_expected_environment_info();

0 commit comments

Comments
 (0)