diff options
author | Stephen Paul Weber <singpolyma@singpolyma.net> | 2012-04-27 13:09:30 -0500 |
---|---|---|
committer | Stephen Paul Weber <singpolyma@singpolyma.net> | 2012-04-27 13:09:30 -0500 |
commit | 1a1258ace5b9ae959972c18184566bb689bd8575 (patch) | |
tree | e6f66d1fa529d0c042a6c230db26f9838143b93a /tests | |
parent | 16f0cd61f101ad1de2da3b3445b7f31b124de317 (diff) |
fix new tests for CEREAL=1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/suite.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite.hs b/tests/suite.hs index afadc35..0ddc770 100644 --- a/tests/suite.hs +++ b/tests/suite.hs | |||
@@ -42,11 +42,11 @@ prop_s2k_count c = | |||
42 | 42 | ||
43 | prop_MPI_serialization_loop :: OpenPGP.MPI -> Bool | 43 | prop_MPI_serialization_loop :: OpenPGP.MPI -> Bool |
44 | prop_MPI_serialization_loop mpi = | 44 | prop_MPI_serialization_loop mpi = |
45 | mpi == decode (encode mpi) | 45 | mpi == decode' (encode mpi) |
46 | 46 | ||
47 | prop_SignatureSubpacket_serialization_loop :: OpenPGP.SignatureSubpacket -> Bool | 47 | prop_SignatureSubpacket_serialization_loop :: OpenPGP.SignatureSubpacket -> Bool |
48 | prop_SignatureSubpacket_serialization_loop packet = | 48 | prop_SignatureSubpacket_serialization_loop packet = |
49 | packet == decode (encode packet) | 49 | packet == decode' (encode packet) |
50 | 50 | ||
51 | tests :: [Test] | 51 | tests :: [Test] |
52 | tests = | 52 | tests = |