diff --git a/tests/fixtures/cp/hello_dir/hello.txt b/tests/fixtures/cp/hello_dir/hello.txt new file mode 100644 index 000000000..e69de29bb diff --git a/tests/test_cp.rs b/tests/test_cp.rs index 3832e3f56..e5b86d8a7 100644 --- a/tests/test_cp.rs +++ b/tests/test_cp.rs @@ -44,17 +44,17 @@ fn test_cp_with_dirs() { let at = &ts.fixtures; //using -t option - let result_to_dir_t = ts.util_cmd() + let result_to_dir = ts.util_cmd() .arg(TEST_HELLO_WORLD_SOURCE) .arg(TEST_COPY_TO_FOLDER) .run(); - assert!(result_to_dir_t.success); + assert!(result_to_dir.success); assert_eq!(at.read(TEST_COPY_TO_FOLDER_FILE), "Hello, World!\n"); - let result_from_dir_t = ts.util_cmd() + let result_from_dir = ts.util_cmd() .arg(TEST_COPY_FROM_FOLDER_FILE) .arg(TEST_HELLO_WORLD_DEST) .run(); - assert!(result_from_dir_t.success); + assert!(result_from_dir.success); assert_eq!(at.read(TEST_HELLO_WORLD_DEST), "Hello, World!\n"); } \ No newline at end of file