Debian Codegraph @

debian/patches/disable_tests.patch

raw
1 --- a/src/nameinfo.rs
2 +++ b/src/nameinfo.rs
3 @@ -76,6 +76,7 @@
4 Ok((host, service))
5 }
6
7 +/*
8 #[test]
9 fn test_getnameinfo() {
10 use std::net::{IpAddr, SocketAddr};
11 @@ -102,3 +103,4 @@
12 assert_eq!(name, hostname);
13 }
14 }
15 +*/
16 --- a/src/lib.rs
17 +++ b/src/lib.rs
18 @@ -32,6 +32,7 @@
19 //! // The string "localhost" on unix, and the hostname on Windows.
20 //! ```
21 //!
22 +/*
23 //! # `getaddrinfo`
24 //! ```rust
25 //! extern crate dns_lookup;
26 @@ -55,6 +56,7 @@
27 //! }
28 //! }
29 //! ```
30 +*/
31 //!
32 //! # `getnameinfo`
33 //! ```rust