add - and _
This commit is contained in:
parent
238342117a
commit
d14b13e18e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ file2key s = if key == Just stubKey then Nothing else key
|
||||||
|
|
||||||
instance Arbitrary Key where
|
instance Arbitrary Key where
|
||||||
arbitrary = Key
|
arbitrary = Key
|
||||||
<$> (listOf1 $ elements $ ['A'..'Z'] ++ ['a'..'z'] ++ ['0'..'9'] ++ "\r\n \t")
|
<$> (listOf1 $ elements $ ['A'..'Z'] ++ ['a'..'z'] ++ ['0'..'9'] ++ "-_\r\n \t")
|
||||||
<*> (listOf1 $ elements ['A'..'Z']) -- BACKEND
|
<*> (listOf1 $ elements ['A'..'Z']) -- BACKEND
|
||||||
<*> ((abs <$>) <$> arbitrary) -- size cannot be negative
|
<*> ((abs <$>) <$> arbitrary) -- size cannot be negative
|
||||||
<*> arbitrary
|
<*> arbitrary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue