From 75e3c6f547adb43d3da2dfa600c3632dcc09799b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20N=2E=20Robalino?= Date: Wed, 14 Aug 2019 16:05:35 -0500 Subject: [PATCH] copies_expected -> expected. Use expected as test dirname expectation outcomes from now on. --- tests/command_cp_tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/command_cp_tests.rs b/tests/command_cp_tests.rs index 85c17f057..cf2037770 100644 --- a/tests/command_cp_tests.rs +++ b/tests/command_cp_tests.rs @@ -56,16 +56,16 @@ fn copies_the_directory_inside_directory_if_path_to_copy_is_directory_and_with_r EmptyFile("jonathan.txt"), EmptyFile("andres.txt"), ]) - .mkdir("copies_expected") + .mkdir("expected") .test_dir_name(); let full_path = format!("{}/{}", Playground::root(), sandbox); - let expected_dir = format!("{}/{}", full_path, "copies_expected/originals"); + let expected_dir = format!("{}/{}", full_path, "expected/originals"); nu!( _output, cwd(&full_path), - "cp originals copies_expected --recursive" + "cp originals expected --recursive" ); assert!(h::dir_exists_at(PathBuf::from(&expected_dir))); @@ -114,11 +114,11 @@ fn deep_copies_with_recursive_flag() { .with_files(vec![EmptyFile("coverage.txt"), EmptyFile("commands.txt")]) .within("originals/contributors/yehuda") .with_files(vec![EmptyFile("defer-evaluation.txt")]) - .mkdir("copies_expected") + .mkdir("expected") .test_dir_name(); let full_path = format!("{}/{}", Playground::root(), sandbox); - let expected_dir = format!("{}/{}", full_path, "copies_expected/originals"); + let expected_dir = format!("{}/{}", full_path, "expected/originals"); let jonathans_expected_copied_dir = format!("{}/contributors/jonathan", expected_dir); let andres_expected_copied_dir = format!("{}/contributors/andres", expected_dir); @@ -127,7 +127,7 @@ fn deep_copies_with_recursive_flag() { nu!( _output, cwd(&full_path), - "cp originals copies_expected --recursive" + "cp originals expected --recursive" ); assert!(h::dir_exists_at(PathBuf::from(&expected_dir)));