Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test iolist_size/1 with bad arguments

  • Loading branch information...
commit 73830b087d3a69611c97751156e9f1c61e1ce26a 1 parent 881d451
@bjorng bjorng authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  erts/emulator/test/binary_SUITE.erl
View
3  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) ->
Please sign in to comment.
Something went wrong with that request. Please try again.