File: disable_tests.patch

package info (click to toggle)
rust-dns-lookup 1.0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192 kB
  • sloc: makefile: 4
file content (33 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- a/src/nameinfo.rs
+++ b/src/nameinfo.rs
@@ -76,6 +76,7 @@
   Ok((host, service))
 }
 
+/*
 #[test]
 fn test_getnameinfo() {
    use std::net::{IpAddr, SocketAddr};
@@ -102,3 +103,4 @@
      assert_eq!(name, hostname);
    }
 }
+*/
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,6 +32,7 @@
 //!   // The string "localhost" on unix, and the hostname on Windows.
 //! ```
 //!
+/*
 //! # `getaddrinfo`
 //! ```rust
 //!   extern crate dns_lookup;
@@ -55,6 +56,7 @@
 //!     }
 //!   }
 //! ```
+*/
 //!
 //! # `getnameinfo`
 //! ```rust