Skip to content

Commit 70af904

Browse files
committed
Auto merge of #7932 - ehuss:enable-doc-open-macos, r=alexcrichton
Enable `cargo doc --open` tests on macos. Now that #7576 is merged, these tests should work fine on macos.
2 parents 44816a7 + 517b59d commit 70af904

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testsuite/doc.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ fn doc_all_member_dependency_same_name() {
10181018
}
10191019

10201020
#[cargo_test]
1021-
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
1021+
#[cfg(not(windows))] // `echo` may not be available
10221022
fn doc_workspace_open_help_message() {
10231023
let p = project()
10241024
.file(
@@ -1044,7 +1044,7 @@ fn doc_workspace_open_help_message() {
10441044
}
10451045

10461046
#[cargo_test]
1047-
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
1047+
#[cfg(not(windows))] // `echo` may not be available
10481048
fn doc_workspace_open_different_library_and_package_names() {
10491049
let p = project()
10501050
.file(
@@ -1075,7 +1075,7 @@ fn doc_workspace_open_different_library_and_package_names() {
10751075
}
10761076

10771077
#[cargo_test]
1078-
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
1078+
#[cfg(not(windows))] // `echo` may not be available
10791079
fn doc_workspace_open_binary() {
10801080
let p = project()
10811081
.file(
@@ -1107,7 +1107,7 @@ fn doc_workspace_open_binary() {
11071107
}
11081108

11091109
#[cargo_test]
1110-
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
1110+
#[cfg(not(windows))] // `echo` may not be available
11111111
fn doc_workspace_open_binary_and_library() {
11121112
let p = project()
11131113
.file(

0 commit comments

Comments
 (0)