Permalink
Browse files

Fix bug with operator preference in debug code

  • Loading branch information...
1 parent 2e4f660 commit 5612de76c90ecb0400a61791f0b530ec61efacf1 @krestenkrab committed Mar 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/triq_dom.erl
View
@@ -831,7 +831,7 @@ bindshrink(Dom,Fun) when is_function(Fun,1) ->
domain(letshrink,
fun(_,SampleSize) ->
Box1 = {_,List1} = pick(Dom, SampleSize),
- ?assert(is_list(List1) and length(List1)>0 ),
+ ?assert(is_list(List1) and (length(List1)>0) ),
Box2 = {_,List2} = pick(Fun(List1), SampleSize),
{ bindshrink2(Box1,Box1,Box2,Fun,SampleSize), List2 }

0 comments on commit 5612de7

Please sign in to comment.