From 8962d11055020ad2512963219c14d65615bec54a Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Sat, 20 May 2023 23:16:02 +0800 Subject: [PATCH] fmt --- crates/nu-command/tests/commands/move_/mv.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/nu-command/tests/commands/move_/mv.rs b/crates/nu-command/tests/commands/move_/mv.rs index 28d135766a49..9552b3bff2d5 100644 --- a/crates/nu-command/tests/commands/move_/mv.rs +++ b/crates/nu-command/tests/commands/move_/mv.rs @@ -481,9 +481,7 @@ fn mv_with_update_flag() { // create a file after assert to make sure that newest_valid.txt is newest std::thread::sleep(std::time::Duration::from_secs(1)); - sandbox.with_files(vec![ - FileWithContent("newest_valid.txt", "newest_body") - ]); + sandbox.with_files(vec![FileWithContent("newest_valid.txt", "newest_body")]); let actual = nu!(cwd: sandbox.cwd(), "mv -uf newest_valid.txt valid.txt; open valid.txt"); assert_eq!(actual.out, "newest_body"); });