We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c518db commit e2d4b1dCopy full SHA for e2d4b1d
test/Test/Data/String.purs
@@ -212,4 +212,8 @@ testString = do
212
assert $ slice 0 1 "purescript" == Just "p"
213
assert $ slice 3 6 "purescript" == Just "esc"
214
assert $ slice (-4) (-1) "purescript" == Just "rip"
215
- assert $ slice (-4) 3 "purescript" == Nothing
+ assert $ slice (-4) 3 "purescript" == Nothing -- b' > e'
216
+ assert $ slice 1000 3 "purescript" == Nothing -- b' > e' (subsumes b > l)
217
+ assert $ slice 2 (-15) "purescript" == Nothing -- e' < 0
218
+ assert $ slice (-15) 9 "purescript" == Nothing -- b' < 0
219
+ assert $ slice 3 1000 "purescript" == Nothing -- e > l
0 commit comments