@@ -305,16 +305,16 @@ spec = do
305 newFooVal = FieldRepr $ ReprArray [ReprNumber 15]
305 newFooVal = FieldRepr $ ReprArray [ReprNumber 15]
306 fooProxy = Proxy @"foo"
306 fooProxy = Proxy @"foo"
307 it "gets the field from an object" $ do
307 it "gets the field from an object" $ do
308− fget fooProxy objectData == arrayField
308+ fget fooProxy objectData `shouldBe` arrayField
309 it "sets the object field" $ do
309 it "sets the object field" $ do
310− fget fooProxy (fput newFooVal objectData) == newFooVal
310+ fget fooProxy (fput newFooVal objectData) `shouldBe` newFooVal
312 describe "(using lens library) " $ do
312 describe "(using lens library) " $ do
313 it "get the field from an object" $ do
313 it "get the field from an object" $ do
314− objectData ^. flens (Proxy @"foo") == arrayField
314+ objectData ^. flens (Proxy @"foo") `shouldBe` arrayField
315 it "sets the object field" $ do
315 it "sets the object field" $ do
316 set (flens (Proxy @"foo")) newFooVal objectData ^. flens (Proxy @"foo")
316 set (flens (Proxy @"foo")) newFooVal objectData ^. flens (Proxy @"foo")
317− == newFooVal
317+ `shouldBe` newFooVal
319main :: IO ()
319main :: IO ()
320main = hspec spec
320main = hspec spec