]> gitweb.michael.orlitzky.com - haeredes.git/commitdiff
Fix the output of a network-dependent doctest.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Nov 2015 13:50:14 +0000 (08:50 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Nov 2015 13:50:14 +0000 (08:50 -0500)
The IP address of example.com changed, so the doctest was updated.

src/DNS.hs

index 3c89ff4a78a423de3b31848470d4b82165d88ae7..b8e9cd0521e6baec631c56da2d4753e531e2ffc1 100644 (file)
@@ -31,9 +31,9 @@ type LookupResult = (Domain, Either DNSError [Domain])
 --   Examples:
 --
 --   >>> resolve_address "example.com"
---   Right [93.184.216.119]
---   >>> resolve_address "93.184.216.119"
---   Right [93.184.216.119]
+--   Right [93.184.216.34]
+--   >>> resolve_address "93.184.216.34"
+--   Right [93.184.216.34]
 --
 resolve_address :: String -> IO (Either DNSError [IPv4])
 resolve_address s =