mirror of
https://github.com/storytold/lightcraft.git
synced 2026-12-05 08:21:16 -05:00
nightly: format the launch-profile test as rustfmt expects
This commit is contained in:
@@ -172,10 +172,7 @@ mod config_path_tests {
|
||||
#[test]
|
||||
fn config_override_keeps_panic_log_in_isolated_profile() {
|
||||
let temp = std::path::PathBuf::from("temp");
|
||||
assert_eq!(
|
||||
panic_log_path_with(|_| Some("isolated".into()), temp.clone(), None),
|
||||
std::path::PathBuf::from("isolated/lightcraft-panics.log")
|
||||
);
|
||||
assert_eq!(panic_log_path_with(|_| Some("isolated".into()), temp.clone(), None), std::path::PathBuf::from("isolated/lightcraft-panics.log"));
|
||||
assert_eq!(panic_log_path_with(|_| None, temp.clone(), None), temp.join("lightcraft-panics.log"));
|
||||
assert_eq!(panic_log_path_with(|_| Some("".into()), temp.clone(), None), temp.join("lightcraft-panics.log"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user