diff options
author | Björn Gustavsson <[email protected]> | 2011-04-27 05:43:00 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-05-04 15:20:03 +0200 |
commit | 73830b087d3a69611c97751156e9f1c61e1ce26a (patch) | |
tree | 4b313cf7dc5abdeab3adba65ef1ae1e84e728b8e /erts/emulator/test | |
parent | 881d45107dfff7e0a640114ce808e284fa7a83f7 (diff) | |
download | otp-73830b087d3a69611c97751156e9f1c61e1ce26a.tar.gz otp-73830b087d3a69611c97751156e9f1c61e1ce26a.tar.bz2 otp-73830b087d3a69611c97751156e9f1c61e1ce26a.zip |
Test iolist_size/1 with bad arguments
Diffstat (limited to 'erts/emulator/test')
-rw-r--r-- | erts/emulator/test/binary_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/test/binary_SUITE.erl b/erts/emulator/test/binary_SUITE.erl index 96a5a501b4..b7b2aaf89e 100644 --- a/erts/emulator/test/binary_SUITE.erl +++ b/erts/emulator/test/binary_SUITE.erl @@ -280,7 +280,8 @@ bad_list_to_binary(Config) when is_list(Config) -> test_bad_bin(List) -> {'EXIT',{badarg,_}} = (catch list_to_binary(List)), {'EXIT',{badarg,_}} = (catch iolist_to_binary(List)), - {'EXIT',{badarg,_}} = (catch list_to_bitstring(List)). + {'EXIT',{badarg,_}} = (catch list_to_bitstring(List)), + {'EXIT',{badarg,_}} = (catch iolist_size(List)). bad_binary_to_list(doc) -> "Tries binary_to_list/1,3 with bad arguments."; bad_binary_to_list(Config) when is_list(Config) -> |