From c3990abcfbb575c73cb5593886d9b20eda5db92b Mon Sep 17 00:00:00 2001 From: meteorgan Date: Sat, 30 Nov 2024 20:42:56 +0800 Subject: [PATCH] fix cargo clippy --- bin/oli/tests/mv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/oli/tests/mv.rs b/bin/oli/tests/mv.rs index d10d93040b12..d28913924dab 100644 --- a/bin/oli/tests/mv.rs +++ b/bin/oli/tests/mv.rs @@ -100,7 +100,7 @@ async fn test_mv_with_recursive() -> Result<()> { let dst_file2_content = fs::read_to_string(dst_path.path().join("dir/file2.txt")).expect("read dir/file2 error"); assert_eq!(dst_file2_content, file2_content); - assert!(fs::exists(&dst_path.path().join("empty_dir/"))?); + assert!(fs::exists(dst_path.path().join("empty_dir/"))?); assert!(!fs::exists(&src_path)?);