enable test_cp_recurse on macos (#14358)

# Description

This PR enables some tests that were disabled on macos.

We shall see if the CI passes. (Update: CI has passed.)

# User-Facing Changes

Should be no user-facing changes as only a test-file is modified.

# Tests + Formatting

Test coverage should increase

Co-authored-by: Jasha <jsimpson@hiddenroad.com>
This commit is contained in:
Jasha Sommer-Simpson 2024-12-01 06:59:40 -05:00 committed by GitHub
parent c560bac13f
commit c4b919b24c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -610,9 +610,7 @@ static TEST_COPY_TO_FOLDER: &str = "hello_dir/";
static TEST_COPY_TO_FOLDER_FILE: &str = "hello_dir/hello_world.txt"; static TEST_COPY_TO_FOLDER_FILE: &str = "hello_dir/hello_world.txt";
static TEST_COPY_FROM_FOLDER: &str = "hello_dir_with_file/"; static TEST_COPY_FROM_FOLDER: &str = "hello_dir_with_file/";
static TEST_COPY_FROM_FOLDER_FILE: &str = "hello_dir_with_file/hello_world.txt"; static TEST_COPY_FROM_FOLDER_FILE: &str = "hello_dir_with_file/hello_world.txt";
#[cfg(not(target_os = "macos"))]
static TEST_COPY_TO_FOLDER_NEW: &str = "hello_dir_new"; static TEST_COPY_TO_FOLDER_NEW: &str = "hello_dir_new";
#[cfg(not(target_os = "macos"))]
static TEST_COPY_TO_FOLDER_NEW_FILE: &str = "hello_dir_new/hello_world.txt"; static TEST_COPY_TO_FOLDER_NEW_FILE: &str = "hello_dir_new/hello_world.txt";
#[test] #[test]
@ -707,7 +705,6 @@ fn test_cp_multiple_files() {
} }
#[test] #[test]
#[cfg(not(target_os = "macos"))]
fn test_cp_recurse() { fn test_cp_recurse() {
Playground::setup("ucp_test_22", |dirs, sandbox| { Playground::setup("ucp_test_22", |dirs, sandbox| {
// Create the relevant target directories // Create the relevant target directories