{-# OPTIONS_GHC -fno-warn-tabs #-}
module Test.Hspec.Variant where
import Test.Hspec
import Test.QuickCheck.Variant
propValid :: (VarTestable prop) => String -> prop -> Spec
propValid :: String -> prop -> Spec
propValid String
s = String -> Property -> SpecWith (Arg Property)
forall a.
(HasCallStack, Example a) =>
String -> a -> SpecWith (Arg a)
it String
s (Property -> Spec) -> (prop -> Property) -> prop -> Spec
forall b c a. (b -> c) -> (a -> b) -> a -> c
. prop -> Property
forall prop. VarTestable prop => prop -> Property
propertyValid
propInvalid :: (VarTestable prop) => String -> prop -> Spec
propInvalid :: String -> prop -> Spec
propInvalid String
s = String -> Property -> SpecWith (Arg Property)
forall a.
(HasCallStack, Example a) =>
String -> a -> SpecWith (Arg a)
it String
s (Property -> Spec) -> (prop -> Property) -> prop -> Spec
forall b c a. (b -> c) -> (a -> b) -> a -> c
. prop -> Property
forall prop. VarTestable prop => prop -> Property
propertyInvalid