diff options
| author | Gerhard Lazu <gerhard@lazu.co.uk> | 2017-06-20 12:38:06 +0100 |
|---|---|---|
| committer | Gerhard Lazu <gerhard@lazu.co.uk> | 2017-06-20 12:38:06 +0100 |
| commit | 085bacfe5a843eba507b927c9c616212f3e5487e (patch) | |
| tree | ef4916251b0f43a252d771af0ae343d622cb7932 | |
| parent | d81736602e67eca0b83bcb72b8fce805b328a2e0 (diff) | |
| download | rabbitmq-server-git-085bacfe5a843eba507b927c9c616212f3e5487e.tar.gz | |
Fix binary comparison in OTP R16B03
Binaries are not equal in OTP R16B03 & 20-rc.1, converting binary back
to term passes in R16B03.
Would have tested OTP 20-rc.1 as well, but it's not available via kerl
[#146794925]
| -rw-r--r-- | test/term_to_binary_compat_prop_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/term_to_binary_compat_prop_SUITE.erl b/test/term_to_binary_compat_prop_SUITE.erl index 6c8a92a29f..0c604f8994 100644 --- a/test/term_to_binary_compat_prop_SUITE.erl +++ b/test/term_to_binary_compat_prop_SUITE.erl @@ -56,7 +56,7 @@ prop_pre_3_6_11_works(_Config) -> begin Current = term_to_binary(Term), Compat = term_to_binary_compat:term_to_binary_1(Term), - Current =:= Compat + binary_to_term(Current) =:= binary_to_term(Compat) end). term_to_binary_latin_atom(Config) -> |
