We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e35f28 commit 3555487Copy full SHA for 3555487
testsrc/Strtest.hs
@@ -55,18 +55,17 @@ test_splitWs =
55
test_escapeRe =
56
map (\i -> TestLabel (show $ chr i) $ TestCase $ assertEqual [chr i] (Just [])
57
(matchRegex (mkRegex $ escapeRe $ [chr i]) [chr i]))
58
- [1..255]
+ [1..127]
59
++
60
[TestCase $ assertEqual "big string"
61
(Just ([], teststr, [], []))
62
(matchRegexAll (mkRegex $ escapeRe teststr) teststr)
63
]
64
- where teststr = map chr [1..255]
+ where teststr = map chr [1..127]
65
66
tests = TestList [TestLabel "lstrip" (TestList test_lstrip),
67
TestLabel "rstrip" $ TestList test_rstrip,
68
TestLabel "strip" $ TestList test_strip,
69
TestLabel "splitWs" $ TestList test_splitWs,
70
TestLabel "escapeRe" $ TestList test_escapeRe
71
72
-
0 commit comments