summaryrefslogtreecommitdiff
path: root/tests/Regex.hs
diff options
context:
space:
mode:
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"]