aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/binary_SUITE.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-01-08 20:15:37 +0100
committerSverker Eriksson <[email protected]>2014-01-08 20:15:37 +0100
commit11533683c568402ec11afc9e1823debac74414d7 (patch)
treeadcbb8d32acde7ae0f0cfaee9cc1986e3ba097d4 /erts/emulator/test/binary_SUITE.erl
parent2947f831d65b5bd807fa6e6f78cd2e96a7c26b35 (diff)
downloadotp-11533683c568402ec11afc9e1823debac74414d7.tar.gz
otp-11533683c568402ec11afc9e1823debac74414d7.tar.bz2
otp-11533683c568402ec11afc9e1823debac74414d7.zip
erts: Fix useless comparisons in binary_SUITE:external_size
Diffstat (limited to 'erts/emulator/test/binary_SUITE.erl')
-rw-r--r--erts/emulator/test/binary_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/binary_SUITE.erl b/erts/emulator/test/binary_SUITE.erl
index 53cafb3fbc..eee299db56 100644
--- a/erts/emulator/test/binary_SUITE.erl
+++ b/erts/emulator/test/binary_SUITE.erl
@@ -506,8 +506,8 @@ external_size(Config) when is_list(Config) ->
io:format("Unaligned size: ~p\n", [Sz2]),
?line ?t:fail()
end,
- ?line erlang:external_size(Bin) =:= erlang:external_size(Bin, [{minor_version, 1}]),
- ?line erlang:external_size(Unaligned) =:= erlang:external_size(Unaligned, [{minor_version, 1}]).
+ true = (erlang:external_size(Bin) =:= erlang:external_size(Bin, [{minor_version, 1}])),
+ true = (erlang:external_size(Unaligned) =:= erlang:external_size(Unaligned, [{minor_version, 1}])).
external_size_1(Term, Size0, Limit) when Size0 < Limit ->
case erlang:external_size(Term) of