Skip to content

Commit

Permalink
chore: Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Micha Reiser committed Nov 17, 2022
1 parent 16a1ac2 commit ce16cb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/rome_cli/tests/commands/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@ fn fs_error_dereferenced_symlink() {
{
remove_dir_all(root_path.clone());
}
create_dir(PathBuf::from(root_path.clone())).unwrap();
create_dir(subdir_path.clone()).unwrap();
create_dir(root_path.clone()).unwrap();
create_dir(subdir_path).unwrap();

#[cfg(target_family = "unix")]
{
Expand Down Expand Up @@ -734,7 +734,7 @@ fn fs_error_infinite_symlink_exapansion() {
{
remove_dir_all(root_path.clone());
}
create_dir(PathBuf::from(root_path.clone())).unwrap();
create_dir(root_path.clone()).unwrap();
create_dir(subdir1_path.clone()).unwrap();

create_dir_all(subdir2_path.clone()).unwrap();
Expand Down

0 comments on commit ce16cb8

Please sign in to comment.