X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=src%2FStringUtils.hs;h=b5feccb3f079a32755784ad2afc63b894802233b;hp=52b1def19cfc02acde93a24cbf25b5949d4297dd;hb=bbd3f429da0e9e5906f6aecb85f1c00683500428;hpb=5902136562aa412e2e1a54773e9cd3810bb8aa75 diff --git a/src/StringUtils.hs b/src/StringUtils.hs index 52b1def..b5feccb 100644 --- a/src/StringUtils.hs +++ b/src/StringUtils.hs @@ -27,7 +27,8 @@ string_utils_tests = [ test_listify ] test_listify :: Test test_listify = - TestCase $ assertEqual "All items are numbered correctly." expected_items actual_items + TestCase $ assertEqual description expected_items actual_items where + description = "All items are numbered correctly." actual_items = listify [ "item1", "item2" ] expected_items = ["1. item1", "2. item2" ]