We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f5f92c commit c00b103Copy full SHA for c00b103
tests/ValueTests.hs
@@ -66,7 +66,13 @@ tests = testSpec "Value" $ do
66
, ("resInt", toValue @Int32 32)
67
]
68
let Right observed = fromValue $ ValueObject' value
69
- observed `shouldBe` Resource "text" 32 1.2 False
+ let expected = Resource
70
+ { resText = "text"
71
+ , resInt = 32
72
+ , resDouble = 1.2
73
+ , resBool = False
74
+ }
75
+ observed `shouldBe` expected
76
77
describe "ToValue / FromValue instances" $ do
78
prop "Bool" $ prop_roundtripValue @Bool
0 commit comments