summaryrefslogtreecommitdiffstats
path: root/vendor/curl/tests/protocols.rs
blob: 36e5b99bf59be8dd9b0cdbb4ecea941ae1064c2b (plain)
1
2
3
4
5
6
7
8
9
#[cfg(all(feature = "static-curl", feature = "protocol-ftp"))]
#[test]
fn static_with_ftp_enabled() {
    assert!(curl::Version::get()
        .protocols()
        .filter(|&p| p == "ftp")
        .next()
        .is_some());
}