on master help sign in
Add a test checking the size in the roundtrip serialization tests
commit1d0e20c9d394402d1428b92af7aaa07c8c4227fd authorAdithya Kumar <adithya@composewell.com> dateTue 29 Aug 2023, 18:37 (3 years ago) parent5fef843
1 file changed+1
test/Streamly/Test/Data/Serialize.hs+1
test/Streamly/Test/Data/Serialize.hs+1
@@ -69,6 +69,7 @@ roundtrip val = do
6969 (off2, val2) <- Serialize.deserialize 0 arr sz
7070 val2 `shouldBe` val
7171 off2 `shouldBe` off1
72+ off2 `shouldBe` sz
7273
7374testSerializeList
7475 :: forall a. (Eq a, Show a, Serialize.Serialize a)