diff options
author | Björn Gustavsson <[email protected]> | 2019-02-28 12:24:10 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-02-28 12:24:10 +0100 |
commit | cee872cda90b837e64e531b499d8441fb8e6cbea (patch) | |
tree | e8abe158608d5f4f68f7a5eb702b401b68332a23 /lib/stdlib/test/binary_module_SUITE.erl | |
parent | 236436e82f97652c8375d51f8eded9bd4a3201f4 (diff) | |
parent | c317106f450c49e7e6741af1c9d49ae7a378350f (diff) | |
download | otp-cee872cda90b837e64e531b499d8441fb8e6cbea.tar.gz otp-cee872cda90b837e64e531b499d8441fb8e6cbea.tar.bz2 otp-cee872cda90b837e64e531b499d8441fb8e6cbea.zip |
Merge branch 'bjorn/cuddle-with-tests'
* bjorn/cuddle-with-tests:
Fix failing test case binary_module_SUITE:copy/1
Fix failing test case qlc_SUITE:lookup2/1
Diffstat (limited to 'lib/stdlib/test/binary_module_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/binary_module_SUITE.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stdlib/test/binary_module_SUITE.erl b/lib/stdlib/test/binary_module_SUITE.erl index e0811f19cf..9b2033ec4a 100644 --- a/lib/stdlib/test/binary_module_SUITE.erl +++ b/lib/stdlib/test/binary_module_SUITE.erl @@ -755,8 +755,9 @@ list_to_bin(Config) when is_list(Config) -> copy(Config) when is_list(Config) -> <<1,2,3>> = binary:copy(<<1,2,3>>), RS = random_string({1,10000}), - RS = RS2 = binary:copy(RS), - false = erts_debug:same(RS,RS2), + RS2 = binary:copy(RS), + true = RS =:= RS2, + false = erts_debug:same(RS, RS2), <<>> = ?MASK_ERROR(binary:copy(<<1,2,3>>,0)), badarg = ?MASK_ERROR(binary:copy(<<1,2,3:3>>,2)), badarg = ?MASK_ERROR(binary:copy([],0)), |