From: Michael Orlitzky Date: Sat, 28 Aug 2010 06:07:59 +0000 (-0400) Subject: Fixed one of the new tests (min/max). X-Git-Tag: 0.0.1~19 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=e9664c298771be252a788d5daf74e412240a3c78;p=hath.git Fixed one of the new tests (min/max). --- diff --git a/src/Cidr.hs b/src/Cidr.hs index 06550ad..823f43f 100644 --- a/src/Cidr.hs +++ b/src/Cidr.hs @@ -257,7 +257,7 @@ test_max_host1 :: Test test_max_host1 = TestCase $ assertEqual "The maximum host in 10.0.0.0/24 is 10.0.0.255" expected actual where - actual = show $ min_host (cidr_from_string "10.0.0.0/24") + actual = show $ max_host (cidr_from_string "10.0.0.0/24") expected = "10.0.0.255"