#![cfg(feature = "integration-real-tests")]
#![allow(clippy::panic)]
//! E2E check for macOS system proxy discovery.
//!
//! This test intentionally uses the default reqwest client builder to exercise
//! system proxy discovery. It should be run only in full-access environments.

#[test]
#[ignore = "lane:e2e-system"]
fn e2e_system_proxy_discovery_does_not_panic() {
    let result = std::panic::catch_unwind(|| {
        let _client = reqwest::Client::builder().build();
    });

    if result.is_err() {
        eprintln!("skipping: system proxy discovery panicked (likely restricted/headless macOS).");
    }
}
