Skip to content

Commit 6305f29

Browse files
even more shrinking
1 parent a0c3ee7 commit 6305f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Constrained/Generation.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ shrinkWithSpec (simplifySpec -> spec) a = filter (`conformsToSpec` spec) $ case
156156
ExplainSpec _ s -> shrinkWithSpec s a
157157
-- TODO: filter on can't if we have a known to be sound shrinker
158158
TypeSpec s _ -> shrinkWithTypeSpec s a
159-
SuspendedSpec x p -> shrinkFromPreds p x a
159+
SuspendedSpec x p -> shrinkFromPreds p x a ++ shr a
160160
MemberSpec {} -> shr a
161161
TrueSpec -> shr a
162162
ErrorSpec {} -> []

0 commit comments

Comments
 (0)