Skip to content

Commit

Permalink
Add a bit more variety to step tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
sakari committed Sep 7, 2011
1 parent 05712ef commit f8945b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Instances.hs
Expand Up @@ -77,7 +77,7 @@ instance Arbitrary Background where

instance Arbitrary StepText where
arbitrary = smaller $
StepText <$> smaller (listOf1 arbitrary) <*> arbitrary
StepText <$> listOf1 arbitrary <*> arbitrary
shrink (StepText tokens block) = filter noEmptySteps $ tail' $ StepText
<$> (tokens : shrink tokens)
<*> (block : shrink block)
Expand Down

0 comments on commit f8945b8

Please sign in to comment.