summaryrefslogtreecommitdiff
path: root/tests/Regex.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-03-01 14:50:41 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-03-01 14:50:41 +0100
commit90b25105830d6e4b0943ab55f9317bd142533acf (patch)
tree6eefb80a8a84724e70539dd8fa449530f7b17fe0 /tests/Regex.hs
parent8ef5a3ed0307be5d34a9564d02af3ed494f8e228 (diff)
parent8b727b994d482d593046f9b01a5c40b97c166d62 (diff)
downloadhakyll-90b25105830d6e4b0943ab55f9317bd142533acf.tar.gz
Merge branch 'hakyll3'
Conflicts: hakyll.cabal src/Text/Hakyll/Tags.hs
Diffstat (limited to 'tests/Regex.hs')
-rw-r--r--tests/Regex.hs24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/Regex.hs b/tests/Regex.hs
deleted file mode 100644
index 5aac932..0000000
--- a/tests/Regex.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-module Regex
- ( regexGroup
- ) where
-
-import qualified Data.Map as M
-
-import Data.Binary
-import Test.Framework (testGroup)
-import Test.Framework.Providers.HUnit
-import Test.Framework.Providers.QuickCheck2
-import Test.HUnit
-import Test.QuickCheck
-
-import Text.Hakyll.Regex
-
--- Regex test group.
-regexGroup = testGroup "Regex"
- [ testCase "test_splitRegex_1" test_splitRegex_1
- , testCase "test_splitRegex_2" test_splitRegex_2
- ]
-
--- Split Regex test cases.
-test_splitRegex_1 = splitRegex "," "1,2,3" @?= ["1", "2", "3"]
-test_splitRegex_2 = splitRegex "," ",1,2," @?= ["1", "2"]