From 517b59dbb4f19246da2fa6ab995a132537a1d282 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 25 Feb 2020 08:13:30 -0800 Subject: [PATCH] Enable `cargo doc --open` tests on macos. --- tests/testsuite/doc.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testsuite/doc.rs b/tests/testsuite/doc.rs index 8bf3fdd84ab..5ac3540a916 100644 --- a/tests/testsuite/doc.rs +++ b/tests/testsuite/doc.rs @@ -1018,7 +1018,7 @@ fn doc_all_member_dependency_same_name() { } #[cargo_test] -#[cfg(not(any(target_os = "windows", target_os = "macos")))] +#[cfg(not(windows))] // `echo` may not be available fn doc_workspace_open_help_message() { let p = project() .file( @@ -1044,7 +1044,7 @@ fn doc_workspace_open_help_message() { } #[cargo_test] -#[cfg(not(any(target_os = "windows", target_os = "macos")))] +#[cfg(not(windows))] // `echo` may not be available fn doc_workspace_open_different_library_and_package_names() { let p = project() .file( @@ -1075,7 +1075,7 @@ fn doc_workspace_open_different_library_and_package_names() { } #[cargo_test] -#[cfg(not(any(target_os = "windows", target_os = "macos")))] +#[cfg(not(windows))] // `echo` may not be available fn doc_workspace_open_binary() { let p = project() .file( @@ -1107,7 +1107,7 @@ fn doc_workspace_open_binary() { } #[cargo_test] -#[cfg(not(any(target_os = "windows", target_os = "macos")))] +#[cfg(not(windows))] // `echo` may not be available fn doc_workspace_open_binary_and_library() { let p = project() .file(