diff options
Diffstat (limited to 'tests/api_ping.rs')
| -rw-r--r-- | tests/api_ping.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/api_ping.rs b/tests/api_ping.rs index bcb97ab3..b1282c56 100644 --- a/tests/api_ping.rs +++ b/tests/api_ping.rs @@ -178,6 +178,7 @@ fn open_subscription(socket_path: &Path, json: &str) -> JsonLineReader { reader } +#[cfg(not(target_os = "macos"))] fn wait_for_event( reader: &mut JsonLineReader, expected: &str, @@ -186,6 +187,7 @@ fn wait_for_event( wait_for_event_matching(reader, expected, timeout, |_| true) } +#[cfg(not(target_os = "macos"))] fn wait_for_event_matching<F>( reader: &mut JsonLineReader, expected: &str, |
