diff options
author | Sverker Eriksson <[email protected]> | 2014-01-08 20:15:37 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-01-08 20:15:37 +0100 |
commit | 11533683c568402ec11afc9e1823debac74414d7 (patch) | |
tree | adcbb8d32acde7ae0f0cfaee9cc1986e3ba097d4 /erts/emulator | |
parent | 2947f831d65b5bd807fa6e6f78cd2e96a7c26b35 (diff) | |
download | otp-11533683c568402ec11afc9e1823debac74414d7.tar.gz otp-11533683c568402ec11afc9e1823debac74414d7.tar.bz2 otp-11533683c568402ec11afc9e1823debac74414d7.zip |
erts: Fix useless comparisons in binary_SUITE:external_size
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/test/binary_SUITE.erl | 4 |
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 |