Skip to content

Commit

Permalink
🧹 profile: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed May 21, 2024
1 parent 793acde commit d7d6a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,12 @@ mod tests {
};

assert!(!std::path::Path::new(&filepath).exists());
assert!(crate::profile::write_profile_to_file(&filepath, &parsed_profile));
assert!(crate::profile::write_profile_to_file(&filepath, parsed_profile));
let orig_content = fs::read_to_string(&filepath).unwrap();

// cleanup
assert!(fs::remove_file(&filepath).is_ok());

assert_eq!(orig_content, fs::read_to_string(&prof_path).unwrap());
assert_eq!(orig_content, fs::read_to_string(prof_path).unwrap());
}
}

0 comments on commit d7d6a05

Please sign in to comment.