hnix-store-tests-0.1.0.0: Test utilities and instances
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Hspec.Nix

Documentation

forceRight :: Show a => Either a b -> b Source #

roundtrips Source #

Arguments

:: forall a b f. (Applicative f, Eq (f a), Show a, Show b, Show (f a)) 
=> (a -> b)

Encode

-> (b -> f a)

Decode

-> a 
-> Expectation