summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/term_to_binary_compat_prop_SUITE.erl2
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) ->