@@ -646,7 +646,7 @@ instance Arbitrary BufferMode where
646 arbitrary = oneof [ return NoBuffering,
646 arbitrary = oneof [ return NoBuffering,
647 return LineBuffering,
647 return LineBuffering,
648 return (BlockBuffering Nothing),
648 return (BlockBuffering Nothing),
649− (BlockBuffering . Just . fromIntegral) `fmap` arb16 ]
649+ (BlockBuffering . Just . (+1) . fromIntegral) `fmap` arb16 ]
650 where arb16 = arbitrary :: Gen Word16
650 where arb16 = arbitrary :: Gen Word16
652-- This test harness is complex! What property are we checking?
652-- This test harness is complex! What property are we checking?