summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Properties.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Properties.hs b/tests/Properties.hs
index 19ccf49..91ffe33 100644
--- a/tests/Properties.hs
+++ b/tests/Properties.hs
@@ -59,7 +59,7 @@ instance (Integral i, Integral j, Ord a, Arbitrary a) => Arbitrary (StackSet i j
return $ fromList (fromIntegral n,sc,ls)
coarbitrary = error "no coarbitrary for StackSet"
-prop_member1 i n m = member i (push i x)
+prop_member1 i n m = n > 0 && m > 0 ==> member i (push i x)
where x = empty n m :: T
prop_member2 i x = not (member i (delete i x))