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