From: Michael Orlitzky Date: Mon, 16 Nov 2015 13:50:14 +0000 (-0500) Subject: Fix the output of a network-dependent doctest. X-Git-Tag: 0.4.5~2 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=c66c2d4fdf14e5b0fa54f39e6061eb4774c7b98a;p=haeredes.git Fix the output of a network-dependent doctest. The IP address of example.com changed, so the doctest was updated. --- diff --git a/src/DNS.hs b/src/DNS.hs index 3c89ff4..b8e9cd0 100644 --- a/src/DNS.hs +++ b/src/DNS.hs @@ -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 =