-------------------------------------------------------------------------------- module Hakyll.Web.Util.Html.Tests ( tests ) where -------------------------------------------------------------------------------- import Test.Framework (Test, testGroup) import Test.HUnit ((@=?)) -------------------------------------------------------------------------------- import Hakyll.Web.Util.Html import TestSuite.Util -------------------------------------------------------------------------------- tests :: Test tests = testGroup "Hakyll.Web.Util.Html" $ concat [ fromAssertions "stripTags" [ "foo" @=? stripTags "
foo
" , "foo bar" @=? stripTags "foo
bar" , "foo" @=? stripTags "foo
" ] ]