Skip to content

Commit c00b103

Browse files
committed
Fix unused -Werror
1 parent 5f5f92c commit c00b103

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/ValueTests.hs

+7-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ tests = testSpec "Value" $ do
6666
, ("resInt", toValue @Int32 32)
6767
]
6868
let Right observed = fromValue $ ValueObject' value
69-
observed `shouldBe` Resource "text" 32 1.2 False
69+
let expected = Resource
70+
{ resText = "text"
71+
, resInt = 32
72+
, resDouble = 1.2
73+
, resBool = False
74+
}
75+
observed `shouldBe` expected
7076

7177
describe "ToValue / FromValue instances" $ do
7278
prop "Bool" $ prop_roundtripValue @Bool

0 commit comments

Comments
 (0)