From e9664c298771be252a788d5daf74e412240a3c78 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 28 Aug 2010 02:07:59 -0400 Subject: [PATCH] Fixed one of the new tests (min/max). --- src/Cidr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.44.2