Skip to content

Commit

Permalink
Bring out the Generic Maybe bug in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Dec 21, 2012
1 parent cc5526f commit 3dc1c44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Properties.hs
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,14 @@ tests = [
, testProperty "Double" $ genericFrom (1::Double)
, testProperty "Int" $ genericFrom (1::Int)
, testProperty "Foo" $ genericFrom (undefined::Foo)
, testProperty "Maybe" $ genericFrom (Just 1 :: Maybe Int)
],
testGroup "genericTo" [
testProperty "Bool" $ genericTo True
, testProperty "Double" $ genericTo (1::Double)
, testProperty "Int" $ genericTo (1::Int)
, testProperty "Foo" $ genericTo (undefined::Foo)
, testProperty "Maybe" $ genericTo (Just 1 :: Maybe Int)
],
testGroup "roundTrip" [
testProperty "Bool" $ roundTripEq True
Expand Down

0 comments on commit 3dc1c44

Please sign in to comment.