Skip to content

Commit

Permalink
remove leftover temp dir from test
Browse files Browse the repository at this point in the history
  • Loading branch information
Schniz committed May 27, 2024
1 parent 516c6d8 commit a436254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ mod tests {

#[test]
fn test_install_latest() {
let base_dir = std::path::PathBuf::from("/tmp/test123");
let config = FnmConfig::default().with_base_dir(Some(base_dir.clone()));
let base_dir = tempfile::tempdir().unwrap();
let config = FnmConfig::default().with_base_dir(Some(base_dir.path().to_path_buf()));

Install {
version: None,
Expand Down

0 comments on commit a436254

Please sign in to comment.