Commits

Luke Plant committed 3376bbf

Beginnings of test suite

  • Participants
  • Parent commits ccdb9e9

Comments (0)

Files changed (1)

testsuite/tests/Blog/DBUtils.hs

+module Tests.Blog.DBUtils
+
+where
+
+import Blog.DBUtils
+import Test.HUnit
+
+tests = test [
+         "slugFromTitle1" ~: "this-is-a-title" ~=? (slugFromTitle "This is a % $ /title ^£$")
+        ]