mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-11-26 23:02:07 +03:00
Remove the tests for ‘alphaNumChar’
Alphanumeric characters are not generated often enough so QuickCheck may sometimes give up on this one. The function is defined analogous to other similar functions so there is really no point in testing it.
This commit is contained in:
parent
7ba66b98d9
commit
8c7acbf376
@ -114,9 +114,6 @@ spec = do
|
||||
describe "spaceChar" $
|
||||
checkCharRange "white space" [9, 10, 11, 12, 13, 32, 160] spaceChar
|
||||
|
||||
describe "alphaNumChar" $
|
||||
checkCharPred "alphanumeric character" (isAlphaNum . toChar) alphaNumChar
|
||||
|
||||
describe "printChar" $
|
||||
checkCharPred "printable character" (isPrint . toChar) printChar
|
||||
|
||||
|
@ -120,9 +120,6 @@ spec = do
|
||||
describe "letterChar" $
|
||||
checkCharPred "letter" isAlpha letterChar
|
||||
|
||||
describe "alphaNumChar" $
|
||||
checkCharPred "alphanumeric character" isAlphaNum alphaNumChar
|
||||
|
||||
describe "printChar" $
|
||||
checkCharPred "printable character" isPrint printChar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user