diff options
author | Sverker Eriksson <[email protected]> | 2013-11-19 14:31:23 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-19 14:31:23 +0100 |
commit | 08521e1438038aab694170d110e638d69ecee0df (patch) | |
tree | 74314244394f6a9dded2493e775155d0a7f46b65 /erts/emulator/test | |
parent | 20641fe0f2ea745873fc7557448d3a7deb1bd639 (diff) | |
download | otp-08521e1438038aab694170d110e638d69ecee0df.tar.gz otp-08521e1438038aab694170d110e638d69ecee0df.tar.bz2 otp-08521e1438038aab694170d110e638d69ecee0df.zip |
erts: Fix test case hash_SUITE:bit_level_binaries
Commontest doesn't like exported functions with same name as test case.
Diffstat (limited to 'erts/emulator/test')
-rw-r--r-- | erts/emulator/test/hash_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/test/hash_SUITE.erl b/erts/emulator/test/hash_SUITE.erl index 43c9d64af7..738c9c8b16 100644 --- a/erts/emulator/test/hash_SUITE.erl +++ b/erts/emulator/test/hash_SUITE.erl @@ -32,7 +32,7 @@ %% -module(hash_SUITE). -export([basic_test/0,cmp_test/1,range_test/0,spread_test/1, - phash2_test/0, otp_5292_test/0, bit_level_binaries/0, + phash2_test/0, otp_5292_test/0, otp_7127_test/0]). -compile({nowarn_deprecated_function, {erlang,hash,2}}). @@ -152,7 +152,7 @@ otp_5292(Config) when is_list(Config) -> %% Test hashing bit-level binaries. bit_level_binaries(Config) when is_list(Config) -> - bit_level_binaries(). + bit_level_binaries_do(). otp_7127(suite) -> []; @@ -537,7 +537,7 @@ hash_int(Start, End, F) -> md5(T) -> erlang:md5(term_to_binary(T)). -bit_level_binaries() -> +bit_level_binaries_do() -> [3511317,7022633,14044578,28087749,56173436,112344123,90467083|_] = bit_level_all_different(fun erlang:hash/2), [3511317,7022633,14044578,28087749,56173436,112344123,90467083|_] = |