Skip to content

Commit

Permalink
don't generate single quotes in random package configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses4ever committed Aug 16, 2022
1 parent 662b63a commit 247d3f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ instance Arbitrary ShortToken where
arbitrary =
ShortToken <$>
(shortListOf1 5 (choose ('#', '~'))
`suchThat` (all (`notElem` "{}"))
`suchThat` (all (`notElem` "{}'"))
`suchThat` (not . ("[]" `isPrefixOf`)))
--TODO: [code cleanup] need to replace parseHaskellString impl to stop
-- accepting Haskell list syntax [], ['a'] etc, just allow String syntax.
Expand Down

0 comments on commit 247d3f2

Please sign in to comment.